<div dir="ltr">Am using spring amqp API, where the error is occurred inside handleMessage() method. Can you please let me know how can we do that?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 9, 2014 at 3:47 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 9 Jan 2014, at 14:13, Rajasekhar P <<a href="mailto:sekhar434145@gmail.com">sekhar434145@gmail.com</a>> wrote:<br>
<br>
> I want to send that exception to the producer, can you please tell me how can we send it back to producer?<br>
<br>
</div>Send a reply message that has its type property set to “error”. See the RPC tutorial:<br>
<br>
<a href="http://www.rabbitmq.com/tutorials/tutorial-six-java.html" target="_blank">http://www.rabbitmq.com/tutorials/tutorial-six-java.html</a><br>
<div class="HOEnZb"><div class="h5"><br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<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>
</div></div></blockquote></div><br></div>