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.

Reply via email to