Thanks for your reply Jason!

That link you provided recommends the use of PooledConnectionFactory if I am
publishing messages - which is OK for B2 endpoint in my above example and
recommends using MessageListenerContainer for consuming messages which is
for B1 endpoint. This also correlates to an old user group reply from James
Strachan saying that PooledConnectionFactory is optimized for producing and
not for consuming.

However I can't find any examples of using MessageListenerContainer in Camel
with Spring DSL (camel.xml). Do you guys have any examples of properly
setting up the ActiveMQ queue consuming endpoint in Camel Spring DSL?

Cheers,
Ozan

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Camel-PooledConnectionFactory-or-not-tp3807064p3807470.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to