[rabbitmq-discuss] Problem after upgrading to 2.3.1

mysurf mail stammailbox at gmail.com
Thu Feb 24 15:48:28 GMT 2011


well,
It would be strange if we do.

What I basically see is that we start listening on the receiving
app (subscriber)  as follows:

            boolean durable = false;
            final boolean mandatory = true;
            final boolean immediate = true;
            channel.exchangeDeclare(exchangeName, "direct", durable,
mandatory, immediate, new HashMap<String, Object>());
            channel.queueDeclare(queueName, durable);
            channel.queueBind(queueName, exchangeName, routingKey);

            boolean noAck = true;
            queueingConsumer = new QueueingConsumer(channel);
            channel.basicConsume(queueName, noAck, queueingConsumer);

the sender uses

channel.basicPublish(exchangeName, routingKey,
MessageProperties.MINIMAL_BASIC, messageBodyBytes);

Thank you

On Thu, Feb 24, 2011 at 4:31 PM, Matthew Sackman <matthew at rabbitmq.com>wrote:

> On Thu, Feb 24, 2011 at 04:27:08PM +0200, mysurf mail wrote:
> > reply-code=406,reply-text=PRECONDITION_FAILED - unknown delivery tag
> > 1,class-id=60,method-id=80),null,""}
>
> Older versions of Rabbit didn't error if you acked the same message
> multiple times. Currenty versions do, in order to conform with the AMQP
> 0-9-1 spec. It's very likely you're acknowledging the same message
> multiple times in order to get this error message.
>
> Can you check your application to see if this is the case?
>
> Best wishes,
>
> Matthew
> _______________________________________________
> 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/20110224/3ddcd5e7/attachment.htm>


More information about the rabbitmq-discuss mailing list