[rabbitmq-discuss] Publish and ACK in different channels
Alexandru Scvorţov
alexandru at rabbitmq.com
Wed Aug 11 10:32:39 BST 2010
If you get a message and close the channel without ack'ing it, the
message will get reinserted into the queue.
If you don't want the message to be reinserted, either you acknowledge
it explicitly, or you get with noAck set to true.
Cheers,
Alex
On Wed, Aug 11, 2010 at 02:31:40PM +0530, Abhishek K wrote:
> I am using the RabbitMQ Java API.
>
> Channel A does a basicGet, gets message M channel A is closed. AutoAck is
> set to false.
> Now I need to Ack message M using some other channel (channel B), and do not
> want message M to be delivered to some other consumer in the meanwhile. What
> can be the best approach to achieve this?
>
> Abhishek Kona
> Department of Computer Engineering
> National Institute of Technology
> Karnataka, India
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list