[rabbitmq-discuss] How to do publisher confirms over STOMP with RabbitMQ

Rohit Yadav rohit.yadav at wingify.com
Wed May 29 04:41:44 BST 2013

Thanks Matthias for your reply, you're right persistent:true would work,
both are making the message persistent.
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?


On Wed, May 29, 2013 at 3:43 AM, Matthias Radestock
<matthias at rabbitmq.com>wrote:

> On 28/05/13 22:06, rohit.yadav at wingify.com wrote:
>> I'm trying to explore STOMP to communicate with RabbitMQ. I'm sending a
>> persistent message to RabbitMQ using a SEND frame with persistent:true
>> and delivery-mode:2 headers but in return I don't get any RECEIPT or
>> MESSAGE frame replies.
> You need to set a 'receipt' header on the SEND frame, as per the spec -
> http://stomp.github.io/stomp-**specification-1.1.html#Header_**receipt<http://stomp.github.io/stomp-specification-1.1.html#Header_receipt>
> .
> 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.
> Regards,
> Matthias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130529/e53ea0b2/attachment.htm>

More information about the rabbitmq-discuss mailing list