Thank you fabrizio. But the issue is with passing dynamic uri to pollenrich.
On 25 March 2016 at 13:25, fabrizio.spataro <fabrizio.spat...@bizmate.it> wrote: > Hello, > > abstractly dynamic uri can be do it using recipientList + simple leanguage > > http://camel.apache.org/content-enricher.html says, you can use something like <route> <from uri="direct:start"/> <pollEnrich> <simple>seda:${header.name}</simple> </pollEnrich> <to uri="direct:result"/> </route> But I am restricted to use 2.15 only example here: http://camel.apache.org/recipient-list.html > > I want to replace this line <pollEnrich uri="activemq:queue:SECOND?selector=head='jagan'" strategyRef="myStrat" timeout="30000"/> With something like this <pollEnrich uri="activemq:queue:SECOND?selector=${header.head}" strategyRef="myStrat" timeout="30000"/> http://camel.465427.n5.nabble.com/pollEnrich-consumer-with-selector-td4939908.html says it is possible with an alternative, but I am still clueless. I am fairly new to camel usage. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Issue-with-dynamic-uri-tp5779689p5779690.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Thanks & Regards B Jagannath Keen & Able Computers Pvt. Ltd. +919871324006