[rabbitmq-discuss] Duplicated message and unknown delivery tag after ack

Gary Russell grussell at gopivotal.com
Fri Aug 2 17:20:36 BST 2013


Also, while I don't believe there have been any changes to Spring AMQP in
this area, I would recommend using the latest version - 1.2.0 (or, at least
1.1.4).


On Thu, Aug 1, 2013 at 5:46 AM, Emile Joubert <emile at rabbitmq.com> wrote:

>
> Hi Lukasz,
>
> On 31/07/13 17:30, Lukasz Olczak wrote:
> > com.rabbitmq.client.ShutdownSignalException: channel error; reason:
> > {#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED -
> > unknown delivery tag 1, class-id=60, method-id=80), null, ""}
>
>
> There are legitimate ways in which multiple consumers could get hold of
> the same message, in the same second. If any consumer rejects a message
> or reconnects then unacknowledged messages will be returned to the
> broker and may be delivered to other consumers. Such messages will have
> the redelivered flag set.
>
> The error you quote could also arise if an application acknowledges
> messages incorrectly. Make sure that messages are only acknowledged once.
>
>
> > Anybody knows why RabbitMQ duplicates messages on a single broker with a
> > publisher and consumers connected through loopback interface?
>
>
>
> This is unlikely to have anything to do with the loopback interface
> directly. Though loopback offers greater speed which may expose race
> conditions.
>
> If you believe there is a broker error then please run your test via the
> Tracer protocol analyser and send us the generated trace file:
> http://www.rabbitmq.com/javadoc/com/rabbitmq/tools/Tracer.html
>
>
>
>
>
> -Emile
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130802/136a55dd/attachment.htm>


More information about the rabbitmq-discuss mailing list