You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by jeffreyyin <jy...@yahoo.com> on 2014/10/25 23:08:04 UTC
camel-rabbitmq only receive one message when autoAck is false
Hi,
When I use camel-rabbitmq in my project, if I set autoAck to false, I can
only receive one message even though the prefetchCount was set to a big
number. I have to ack the message then I will get the next message. I was
hoping to get multiple messages and send to multiple workers to process each
message, and then ack back to the rabbitmq.
Did anybody have the same issue? or is my configuration not proper? Below is
my uri string:
"rabbitmq://localhost/exchangeName?queue=queueName&addresses=server1,server2,server3&username=username&password=password&exchangeType=fanout&autoDelete=false&autoAck=false&automaticRecoveryEnabled=true&prefetchEnabled=true&prefetchCount=100&prefetchGlobal=false&prefetchSize=0&declare=false
Thanks,
Jeffrey
--
View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-only-receive-one-message-when-autoAck-is-false-tp5758034.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: camel-rabbitmq only receive one message when autoAck is false
Posted by jeffreyyin <jy...@yahoo.com>.
anybody can help?
Thanks,
Jeffrey
--
View this message in context: http://camel.465427.n5.nabble.com/camel-rabbitmq-only-receive-one-message-when-autoAck-is-false-tp5758034p5758121.html
Sent from the Camel - Users mailing list archive at Nabble.com.