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: [email protected] 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.
