[rabbitmq-discuss] Initiating queue monitoring, but returning to main method with indication of success

Simon MacMullen simon at rabbitmq.com
Wed Feb 22 12:52:18 GMT 2012

On 22/02/12 12:14, McMahon, James S (TASC) wrote:
> The source of my confusion is piecing this all together. Would I
> simply replace this


> with something like the following?



> Does this get invoked every time a message arrives for my queue
> through the direct exchange?


> What purpose does the   channel.basicAck(deliveryTag, false);
> serve?

See the section under "Message Acknowledgement" at:


Cheers, Simon

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list