Class CamelRoute.MyOrderService

  • Enclosing class:
    CamelRoute

    public class CamelRoute.MyOrderService
    extends Object
    • Constructor Detail

      • MyOrderService

        public MyOrderService()
    • Method Detail

      • handleOrder

        public String handleOrder​(String line)
        We just handle the order by returning a id line for the order
      • buildCombinedResponse

        public Map<String,​Object> buildCombinedResponse​(List<String> lines)
        We use the same bean for building the combined response to send back to the original caller