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

Rob Harrop rob at rabbitmq.com
Thu Jul 7 13:23:31 BST 2011


It is guaranteed that you'll see the RECEIPT before the MESSAGE frame


On 7 Jul 2011, at 11:54, Michael Justin <michael.justin at gmx.net> wrote:

> 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
> 
> 
> 
> 
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list