Actually it worked with component scanning and even to add more if we keep
all processors in normal way after multicast and parallel processing, that
works too.
from("direct:endpoint")
multicast().
.parallelProcessing()
.process(processor1)
Thanks Diether, yeah i am using spring with package scanning with component
and service annotations. That will be great if it's so simple.
--
View this message in context:
http://camel.465427.n5.nabble.com/Processors-in-parallel-mode-tp5731613p5731631.html
Sent from the Camel - Users mailing li
t the annotation are probably the fastes way to do this.
Van: Sachin [via Camel] [ml-node+s465427n5731621...@n5.nabble.com]
Verzonden: vrijdag 26 april 2013 16:08
To: Wuyts Diether
Onderwerp: RE: Processors in parallel mode
I will try it..Thanks
___
I will try it..Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Processors-in-parallel-mode-tp5731613p5731621.html
Sent from the Camel - Users mailing list archive at Nabble.com.
___
Van: Sachin [via Camel] [ml-node+s465427n5731617...@n5.nabble.com]
Verzonden: vrijdag 26 april 2013 15:51
To: Wuyts Diether
Onderwerp: RE: Processors in parallel mode
Thanks for reply.
Yeah i can do that but only constraint is that i have so many processors and it
doesnt make much sense to co
Thanks for reply.
Yeah i can do that but only constraint is that i have so many processors and
it doesnt make much sense to convert them to routes. Is there any other way
i can run my processors concurrently?
--
View this message in context:
http://camel.465427.n5.nabble.com/Processors-in-para
You create a simple route for each processor and then use multicast or
recipientlist
http://camel.apache.org/multicast.html
Something like this:
from("direct:endpoint")
.throttle(Long.parseLong(routeParams.get(RouteParam.THROTTLE)))
.setBody().body(PaymentReques