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. I have the
following xml config:
<camel:camelContext>
<camel:routeBuilder ref="smConsumer" />
</camel:camelContext>
<bean name="activemq"
class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory">
<bean
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="${brokerURL}"
/>
<property name="useAsyncSend" value="true" />
</bean>
</property>
</bean>
and the following inside consumer:
from("activemq:queue:" + queue).delay(5000).to("bean:" + processor +
"?method=process");
and all messages come synchronously...
Thanks.
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Camel-and-AMQ-async-delivering-tp5062073p5062073.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.