[rabbitmq-discuss] How to do publisher confirms over STOMP with RabbitMQ
Matthias Radestock
matthias at rabbitmq.com
Tue May 28 23:13:32 BST 2013
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.
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.
More information about the rabbitmq-discuss
mailing list