On Fri, Nov 20, 2009 at 11:01 AM, hanuman <satyaminto...@gmail.com> wrote:
>
> Hi,
>  I tired to run the following camel configuration:
> <route>
> <from uri="jms:queue:InQueue"/>
> <to uri="direct:d1?allowMultipleConsumers=true"/>
> </route>
> <route>
> <from uri="direct:d1?allowMultipleConsumers=true"/>
> <to uri="jms:queue:OutQueue"/>
> </route>
>

This option allowMultipleConsumers is @deprecated and removed in Camel 2.1
So use direct without that option.


> My "OutQueue" is receiving two messages.
> If i set "allowMultipleConsumers=false" to Direct endpoint.Now i got only
> one message to OutQueue.
> Can you please tell me, whats the difference between them.
>
> Thanks in advance,
> Satyam
> --
> View this message in context: 
> http://old.nabble.com/Reg%3A-Direct-Endpoint-tp26435796p26435796.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to