You can“t really dynamically create the bean using camel DSL. It will always be created at the time the route is added to camel. Of course you can have one "singleton" bean that then creates the other bean in java code.

Christian

Am 15.05.2012 06:02, schrieb soumya_sd:
I've a route that

1. invokes a http web url using "direct:in" and gets a response back and
does some processing (parsing etc).
2. I need to send the parsed response to a bean that is dynamically created
using some parameters that are part of my original message body.
3. Finally, I need to send the response back to the ProducerTemplate.

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-get-this-done-in-Camel-tp5709759.html
Sent from the Camel - Users mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to