On Mon, Nov 15, 2010 at 3:34 PM, Krystian <[email protected]> wrote: > > Hi, > > I've created a POJO with @Consume and it works great. However I have to be > able to have more than one consumer listening on the queue. > How can I get more of them? > I can only hope it does not mean I will have to create 20 <bean/> entries > for 20 concurrent consumers ;) >
What queue are you talking about? If its a JMS queue, then just add option concurrentConsumer=10 in the endpoint uri http://camel.apache.org/jms > Thanks, > Krystian > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-get-configure-concurrent-consumers-for-POJO-with-Consume-tp3265743p3265743.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
