<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ritesh,<br>
<br>
<br>
The way it works is that if you set the multiple flag to true, you tell
the broker that you acknowledge all messages /up to and including/ the
message you specify with the delivery tag.<br>
Perhaps worth mentioning that the order of delivery of messages is
guaranteed.<br>
<br>
There is no way of specifying more than one delivery tag.<br>
<br>
<br>
Rgds,<br>
Vlad.<br>
<br>
<br>
<br>
On 08/31/2010 12:56 PM, rathi wrote:
<blockquote
 cite="mid:AANLkTimFXwQ_dRHdfXYwbAp9pNKPLc0Zs9=_kub0z4JJ@mail.gmail.com"
 type="cite">
  <pre>
void <b>basicAck</b>(long&nbsp;deliveryTag, boolean&nbsp;multiple) throws java.io.IOException
Acknowledge one or several received messages. Supply the deliveryTag from the <a
 moz-do-not-send="true"
 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
 moz-do-not-send="true"
 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.


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
if my understanding here is right. Please correct me if I am wrong.


thanks &amp; regards,
ritesh rathi 

  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rabbitmq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>
<a class="moz-txt-link-freetext" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
  </pre>
</blockquote>
</body>
</html>