<div dir="ltr">well, <div>It would be strange if we do. </div><div><br></div><div style="direction: ltr;">What I basically see is that we start listening on the receiving app (subscriber)  as follows: </div><div><br></div>
<div><div>            boolean durable = false;</div><div>            final boolean mandatory = true;</div><div>            final boolean immediate = true;</div><div>            channel.exchangeDeclare(exchangeName, &quot;direct&quot;, durable, mandatory, immediate, new HashMap&lt;String, Object&gt;());</div>
<div>            channel.queueDeclare(queueName, durable);</div><div>            channel.queueBind(queueName, exchangeName, routingKey);</div><div><br></div><div>            boolean noAck = true;</div><div>            queueingConsumer = new QueueingConsumer(channel);</div>
<div>            channel.basicConsume(queueName, noAck, queueingConsumer);</div></div><div><br></div><div>the sender uses </div><div><br>channel.basicPublish(exchangeName, routingKey, MessageProperties.MINIMAL_BASIC, messageBodyBytes);</div>
<div><br></div><div>Thank you</div><div><div class="gmail_quote"><br></div><div class="gmail_quote">On Thu, Feb 24, 2011 at 4:31 PM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@rabbitmq.com" target="_blank">matthew@rabbitmq.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Feb 24, 2011 at 04:27:08PM +0200, mysurf mail wrote:<br>
&gt; reply-code=406,reply-text=PRECONDITION_FAILED - unknown delivery tag<br>
&gt; 1,class-id=60,method-id=80),null,&quot;&quot;}<br>
<br>
</div>Older versions of Rabbit didn&#39;t error if you acked the same message<br>
multiple times. Currenty versions do, in order to conform with the AMQP<br>
0-9-1 spec. It&#39;s very likely you&#39;re acknowledging the same message<br>
multiple times in order to get this error message.<br>
<br>
Can you check your application to see if this is the case?<br>
<br>
Best wishes,<br>
<br>
Matthew<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div></div>