<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div style="" class=""><span style="" class="">Thank you for the reply. <br style=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal"><span style="" class=""><br style="" class=""></span></div><span style="" class="">I am using java client and I was browsing the api but still not clear on how to check the redelivery flag in the consumer. Do I check something in delivery.getProperties()?<br style="" class=""></span><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal"><br style="" class=""></div><div
 class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal"><span style="" class="">I am unable to open the link you provided for the nacks, any chance you have a updated link?</span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal"><span style="" class=""></span><br style="" class=""><span style="" class=""></span></div><div class="" style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal"><span style="" class="">Thanks.<br style="" class=""><br style="" class=""></span></div><div style="display: block;" class="yahoo_quoted"> <div class=""
 style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt"> <div style="" class="" dir="ltr"> <font style="" class="" face="Arial" size="2"> On Friday, May 9, 2014 2:24 PM, Michael Klishin <mklishin@gopivotal.com> wrote:<br style="" class=""> </font> </div>  <div style="" class=""><br style="" class=""><br style="" class="">On May 9, 2014 at 2:44:06 PM, Neha Kansal (<a style="" class="" ymailto="mailto:kansalneha28@yahoo.com" href="mailto:kansalneha28@yahoo.com">kansalneha28@yahoo.com</a>) wrote:<br style="" class="">> > - If I use publisher confirms and waitForConfirms, would the  <br style="" class="">> broker hold off on delivering the message to the consumer until  <br style="" class="">> ack has been sent to the publisher?<br style=""
 class=""><br style="" class="">No, consumers are not aware of publisher confirms, and vice versa.<br style="" class=""><br style="" class="">> - If a publisher receives a nack (i.e. waitForConfirms returns  <br style="" class="">> a false), the publisher code has to handle retry publishing by  <br style="" class="">> itself as many times as it want to in a loop or is there any config/setup  <br style="" class="">> in RabbitMQ that helps with republishing?<br style="" class=""><br style="" class="">You have to handle nacks on your own. Note that it’s actually tricky to<br style="" class="">trigger a nack:<br style="" class=""><br style="" class=""><a style="" class="" href="http://markmail.org/thread/26va4wjuqbae5efi%C2%A0" target="_blank">http://markmail.org/thread/26va4wjuqbae5efi </a><br style="" class=""><br style="" class="">> - How do I check the redelivery flag in the consumer code?<br style="" class=""><br
 style="" class="">See message properties. Exactly how depend on the client you use.<br style="" class="">--  <br style="" class="">MK  <br style="" class=""><br style="" class="">Software Engineer, Pivotal/RabbitMQ<br style="" class=""><br style="" class=""></div>  </div> </div>  </div> </div></body></html>