Hi Yeah multipleConsumers is not support for vm. As the consumers is not static shared.
On Wed, Sep 4, 2013 at 4:38 PM, Cristiano Costantini <cristiano.costant...@gmail.com> wrote: > Hi Claus, > that what I would expect and it works if all the consumers are on the same > CamelContext. > > If I start two consumers on two different CamelContext, only one is reached > by the route, and apparently it is the first one which is registered. > > thank you for your interest, > > Cristiano > > > > > > 2013/9/4 Claus Ibsen <claus.ib...@gmail.com> > >> When you have mutipleConsumers=true and have 2+ consumers on the queue >> name. Then each of them get a copy of the exchange, to process in >> parallel. >> >> Its kinda like Topics in JMS land. >> >> Are you saying you expect something else to happen? >> >> On Wed, Sep 4, 2013 at 12:26 PM, Cristiano Costantini >> <cristiano.costant...@gmail.com> wrote: >> > Hi All, >> > >> > I've switched and endpoint using seda: with options >> multipleConsumers=true >> > and waitForTaskToComplete=Never to using vm: component. >> > >> > After this, the application does not respect anymore the >> > multipleConsumers=true options and two concurrent consumer steal the >> > message. >> > >> > I may have other issue which I'm going to investigate, but to avoid waste >> > time I please ask you if I'm missing some detail by switching from seda: >> to >> > vm: (it is the first time I use vm: and I was expecting the same behavior >> > of the seda:endpoint) >> > >> > I'm using Camel 2.10.6 inside Servicemix 4.5.2. >> > >> > Thank you very much! >> > >> > Cristiano >> >> >> >> -- >> Claus Ibsen >> ----------------- >> Red Hat, Inc. >> Email: cib...@redhat.com >> Twitter: davsclaus >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen >> -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen