<div dir="ltr">Thanks for reply, Emile.<div>I really need the requeue function, because on client side i want do some retry operation with spring-retry. if max-retry-count is exhausted & the message is still not be processing <span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px">appropriately, i will not requeue it (to the original queue) any more & put it to the dead-letter-exchange.</span></div>
<div><span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px">But before put it to the DLX, i really want add some error-d</span><span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px">escription to this message, So another consumer that listening to the DLX can retrieve & analysis & process it according to the </span><span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px">error-d</span><span style="color:rgb(0,0,0);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:12px">escription, that's why i want modify message before reject it.</span><br>
<div style><br></div></div><div style><em style="font-style:normal;font-family:arial,sans-serif;line-height:14.545454025268555px"><b>M</b></em><em style="font-weight:bold;font-style:normal;color:rgb(0,0,0);font-family:arial,sans-serif;line-height:14.545454025268555px">y understanding</em>: Queue in rabbitmq broker will never drop the unacknowledged message before client ack-or-reject it, ack-or-reject-operationing on the client side do not need resend the message to rabbitmq broker, that's why client side cannot modify the message, is that true? </div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 12:37 AM, Emile Joubert <span dir="ltr"><<a href="mailto:emile@rabbitmq.com" target="_blank">emile@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 20/12/12 11:14, Spring Amqp User wrote:<br>
> I am use spring amqp, i have a question: is there a way for the<br>
> client to modify & reject a received message to rabbit broker? the<br>
> arguments requeue of basicReject() must set to true, right?<br>
<br>
<br>
No it is not possible to modify the message while rejecting with<br>
requeue. The closest approximation would be to acknowledge and republish<br>
with the modifications.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-Emile<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>