<pre><br>void <b>basicAck</b>(long deliveryTag, boolean multiple) throws java.io.IOException<br>Acknowledge one or several received messages. Supply the deliveryTag from the <a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.5.1/rabbitmq-java-client-javadoc-1.5.1/com/rabbitmq/client/AMQP.Basic.GetOk.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.GetOk</code></a> or <a href="http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.5.1/rabbitmq-java-client-javadoc-1.5.1/com/rabbitmq/client/AMQP.Basic.Deliver.html" title="interface in com.rabbitmq.client"><code>AMQP.Basic.Deliver</code></a> method containing the received message being acknowledged.<br>
<br>The above method allows to acknowledge multiple messages based on the deliveryTag. But how do we set the same deliveryTag for multiple messages. Don't know<br>if my understanding here is right. Please correct me if I am wrong.<br>
<br>thanks & regards,<br>ritesh rathi <br><br></pre>