<div dir="ltr"><div>Thanks Matthias for your reply, you're right persistent:true would work, both are making the message persistent.<br>What is the best way to deliver messages over STOMP reliably? I wanted to use receipts as a way of knowing that the payload reached the STOMP adapter. As per spec I also see transactions and ack, what works in that use case?<br>
<br></div>Regards.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 29, 2013 at 3:43 AM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 28/05/13 22:06, <a href="mailto:rohit.yadav@wingify.com" target="_blank">rohit.yadav@wingify.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to explore STOMP to communicate with RabbitMQ. I'm sending a<br>
persistent message to RabbitMQ using a SEND frame with persistent:true<br>
and delivery-mode:2 headers but in return I don't get any RECEIPT or<br>
MESSAGE frame replies.<br>
</blockquote>
<br>
You need to set a 'receipt' header on the SEND frame, as per the spec - <a href="http://stomp.github.io/stomp-specification-1.1.html#Header_receipt" target="_blank">http://stomp.github.io/stomp-<u></u>specification-1.1.html#Header_<u></u>receipt</a>.<br>
<br>
Btw, a) there is no point setting *both* persistent:true and delivery-mode:2, and b) receipts are orthogonal to persistence, i.e. whether receipts are issued depends solely on whether the SEND frame contains a 'receipt' header.<br>
<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br></div>