<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div>
<div>
<div>When I set acknowledge to none in spring configuration file, in the rabbit management UI, under Queues --> message rates chart, I see all the messages falling under "<span class="Apple-style-span" style="font-size:12px; line-height:17px; font-family:Verdana,sans-serif">Deliver
 (noack)". Doesn't this mean that RabbitMq is not expecting/processing any acknowledgements from the consumer?</span></div>
<div>
<div>
<div>
<div></div>
<p></p>
<p style="font-size:14px"></p>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Anita Yip <<a href="mailto:Anita.Yip@RealPage.com">Anita.Yip@RealPage.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, March 27, 2014 9:06 PM<br>
<span style="font-weight:bold">To: </span>Discussions about RabbitMQ <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [rabbitmq-discuss] Spring amqp - auto acknowledge from consumer taking almost a minute<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap:break-word; color:rgb(0,0,0); font-size:14px; font-family:Calibri,sans-serif">
<div>
<div>
<div>Thanks for the quick response. That is exactly what I am facing right now. Will try the ack mode to None. Thank you.</div>
<div>
<div>
<div><span class="Apple-style-span" style="font-size:14px; line-height:normal">
<div></div>
</span>
<p></p>
<p style="font-size:14px"></p>
</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; border-bottom:medium none; border-left:medium none; padding-bottom:0in; padding-left:0in; padding-right:0in; border-top:#b5c4df 1pt solid; border-right:medium none; padding-top:3pt">
<span style="font-weight:bold">From: </span>Gary Russell <<a href="mailto:grussell@gopivotal.com">grussell@gopivotal.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>Discussions about RabbitMQ <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, March 27, 2014 8:53 PM<br>
<span style="font-weight:bold">To: </span>Discussions about RabbitMQ <<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [rabbitmq-discuss] Spring amqp - auto acknowledge from consumer taking almost a minute<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Yes; that assumption is wrong; in Spring-AMQP, ack mode AUTO means the container will automatically ack the message on completion. NONE is the equivalent of rabbit auto-ack.
<div><br>
</div>
<div>Be aware that this can cause OOM issues with spring-AMQP versions prior to 1.3.0, if the consumers can't keep up with the workload because the broker will keep pumping messages to the client.</div>
<div><br>
</div>
<div>Gary</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Mar 27, 2014 at 11:45 PM, Anita Yip <span dir="ltr">
<<a href="mailto:Anita.Yip@realpage.com" target="_blank">Anita.Yip@realpage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div style="font-size:14px; font-family:Calibri,sans-serif; word-wrap:break-word">
<div>
<div>
<div>I have a spring amqp based application where the consumer is taking very long time to send acknowledgement. In RabbitMq management plugin, I see it in Unacknowledged state for almost a whole minute.I am currently testing this code by publishing only one
 message. But my prefetch count and transaction size are a 50 and 30 respectively. Could this be any reason for the issue?</div>
<div><br>
</div>
<div>My consumer has heavy processing. But since it is in auto acknowledge mode, I believe, the message will be acknowledged immediately after the consumer receives it and before it start processing the message. Is this assumption wrong?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Anita </div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:0.0001pt; font-family:Calibri,sans-serif">
</p>
<div><b><br>
</b></div>
<span style="font-size:14px; line-height:normal">
<div></div>
</span>
<p></p>
<p style="font-size:14px"></p>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is intended only for the use of the individual(s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to RealPage and its affiliated companies. If the reader of this message is not
 the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the
 sender immediately and delete the original message.<br>
</font></div>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">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>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</span><br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This message is intended only for the use of the individual(s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to RealPage and its affiliated companies. If the reader of this message is not
 the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the
 sender immediately and delete the original message.<br>
</font>
</body>
</html>