On Tue, Jan 18, 2011 at 1:11 AM, nightwolfy <nathan.mccar...@macquarie.com> wrote: > > Hey, > > Thanks for the helpful responses. > > Just implemented 1 as recommended by Willem, all works, tested and it is now > multi-threaded! > > Using Java DSL here is my example for anyone who looking at this thread in > the future. > > > from("vm:genericMsg?size=50000&timeout=1000000&concurrentConsumers=50") > .routeId("Transformation-Gen") > .multicast().parallelProcessing() > .to("bean:genericMessageBuilder?method=buildMsg", > "bean:genericMessageBuilder?method=buildEvent") > .end(); > > For point 2 - as vcheruvu mentioned - I'd be interested to know if a > callback would be available in the next version of camel. >
I have created a ticket https://issues.apache.org/jira/browse/CAMEL-3556 Comment on the ticket for ideas and how you would like the API for the callback to be. > Thanks again. > > Cheers, > Nathan > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-2-5-Multicast-Component-Body-References-Concurrency-Copying-tp3339259p3345414.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/