[rabbitmq-discuss] STOMP: can a client subscribe to non-existing destination and immediately send a message

Michael Justin michael.justin at gmx.net
Thu Jul 7 11:54:31 BST 2011


Am 07.07.2011 12:31, Rob Harrop wrote:

> In this case, you are advised to use receipts if you want guarantees of the ordering across subscribe and send.
>
> You can send your SUBSCRIBE frame, wait for it's receipt and then issue the SEND.
>

Hi Rob,

Thanks for confirming! Is it guaranteed that the server will send the 
receipt first before sending any pending messages to a subscribed 
client? Or is this frame sequence possible:

client: SUBSCRIBE
server: MESSAGE
server: RECEIPT

Michael







More information about the rabbitmq-discuss mailing list