Hi,
If you just want the endpoint has the multiple thread to call the
consumer process method, you can do it in your consumer.
I don't know what the other use case that you may have.
On Fri Jul 29 16:25:47 2011, E.Gherardini wrote:
Hi all,
I need to support multiple consumers inside the component I am developing.
I am wondering which is, in your opinion, the best way to handle it.
I see two options:
1) create 1 Camel Consumer and, inside it, create multiple "endpoint
consumers" (each in its own thread, using an ExecutorServiceStrategy)
2) create multiple Camel Consumers from the endpoint class.
Which is best ? Which approach is most used inside Camel ?
Thanks,
Emanuele
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-correctly-handle-multiple-consumers-tp4646219p4646219.html
Sent from the Camel Development mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang