2 Replies Latest reply on Dec 12, 2011 10:29 AM by Andrey Filippov

    Camel and AMQ async delivering

    Andrey Filippov Newbie

      Hi,

       

      Could, please, anybody give some tips on how queue should be configured not to make wait the second message until the first one is released from an endpoint. I have the following xml config:

       

               

                <!<property name="concurrentConsumers" value="25" />>

           </bean>

       

      <!--connection pooling end -->

       

      and the following inside consumer:

       

      from("activemq:queue:" + queue).delay(5000).to("bean:" + processor + "?method=process");

       

      and all messages come synchronously...

       

      I am using servicemix 4.3.0 and activemq 5.4.2.

       

      Thanks.

       

      Edited by: andreessen on Dec 12, 2011 12:05 PM