2 Replies Latest reply on Jan 4, 2011 8:09 PM by recluse

    Compatiability issue between RoutingSlip and ActiveMQ inOut????

    recluse

      First of all, before my question, Merry Christmas everyone!!!!!

      Hope some experts could still reading this while enjoying Christmas.

       

       

      I am having an issue with routingSlip and activeMq. When I having an activeMq in the list of endpoints for routingSlip. The return message from activemq failed to process and camel complains "ExchangeTimedOutException: The OUT message was not received within: 20000 millis"

       

      Example:

      from("activemq:processor")

           .process(processor).inOut()

           .routingSlip("activemq:abc,activemq:def");

       

      from("activemq:abc")

           .bean(DocumentTransform.class, "mapping");

       

      The transformed output from "activemq:abc" is not returning to the main route and failed to pass on to "activemq:def".

       

       

      I tried to modify my main route into the following:

      from("activemq:processor")

           .process(processor).inOut()

           .to("activemq:abc")

           .to("activemq:def");

       

      The output can returned from my DocumentTransform bean to activemq:def.

       

      Could someone confirm me routingSlip and activeMQ inOut are not compatible?

      Or did i do something stupid?

       

      If they are not compatible, is there any work-around or solution?

       

      Thanks a lot for any suggestion