camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davsclaus <cib_re...@yahoo.dk>
Subject Re: Get activemq message
Date Fri, 25 Nov 2011 09:59:04 GMT
You can use pollEnrich instead of the processor in the Camel DSL.
http://camel.apache.org/content-enricher.html

And the problem you have is that you create a new consumer template for
*each* message. Do not do this. But create the template once. Read this FAQ
http://camel.apache.org/why-does-camel-use-too-many-threads-with-producertemplate.html


-----
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
--
View this message in context: http://camel.465427.n5.nabble.com/Get-activemq-message-tp5020469p5022405.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message