Same Queue Different Channel

426 views
Skip to first unread message

Usman Asif

unread,
Nov 27, 2019, 2:59:25 AM11/27/19
to rabbitmq-users
Dear Support,

we have differnet windows application  build on dot net c#  and of course we are using .Net Client.
we have same queue with different channel. we also acknowledge and nack messages (when our code crash or any other exception handle)
hw ever some time we have got below error.
please also confrm our approach that we have same queue with different channel
The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=406, text='PRECONDITION_FAILED - unknown delivery tag 7065', classId=60, methodId=80

Regards
Usman Asif

Wesley Peng

unread,
Nov 27, 2019, 3:23:30 AM11/27/19
to rabbitm...@googlegroups.com
Hello+

on 2019/11/27 15:59, Usman Asif wrote:
> *The AMQP operation was interrupted: AMQP close-reason, initiated by
> Peer, code=406, text='PRECONDITION_FAILED - unknown delivery tag 7065',
> classId=60, methodId=80*

I am not sure about this error type.
But for your subject question, I think it's nothing related. Since a
queue can have multi-consumers, so it can be openned by different channels.

regards.

Wesley Peng

unread,
Nov 27, 2019, 3:33:48 AM11/27/19
to rabbitm...@googlegroups.com
Hi

on 2019/11/27 15:59, Usman Asif wrote:
> *The AMQP operation was interrupted: AMQP close-reason, initiated by
> Peer, code=406, text='PRECONDITION_FAILED - unknown delivery tag 7065',
> classId=60, methodId=80*

Just gave a quick google and found this:
https://stackoverflow.com/questions/14410985/exception-the-amqp-operation-was-interrupted-code-406-occurs-in-net-client


You typically get that error message when you re-declare an existing
queue with different parameters.


Regards.

Usman Asif

unread,
Nov 27, 2019, 9:46:35 AM11/27/19
to rabbitmq-users
i just worried about same queue with different i want some authentic answer.

Michael Klishin

unread,
Nov 27, 2019, 12:35:45 PM11/27/19
to rabbitmq-users
"Unknown delivery tag" is almost always [1] an indication of:

 * Double acking
 * Acking when automatic acknowledgement mode is used (and thus RabbitMQ does not expect any acks)

Make sure you read [1] and the rest of the sections on consumer acknowledgements and check if any of the above
scenarios can be the case.

Usman Asif

unread,
Nov 30, 2019, 12:54:18 AM11/30/19
to rabbitm...@googlegroups.com
Can you recommend 
That we can consume same 
On different channel and different connection
Actually we want 
Our application run on different server 
Consuming same queue 
So every channel and connection are different.
Ack and nack also be considered.
In which both application nack the queue in exception 
Can this approach is recommended by rabbit mq protocol.

Hope to hear from you soon




--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/41215425-849d-4b09-97c8-ad908b651cdc%40googlegroups.com.

Usman Asif

unread,
Dec 3, 2019, 2:11:06 AM12/3/19
to rabbitm...@googlegroups.com
Dear Team,

can you please clear my doughts
Reply all
Reply to author
Forward
0 new messages