The docs could probably be clearer on the asynchronous nature of messaging. It also wouldn't hurt to make the flushing behavior of OnStomp::Client#disconnect more prominent with a note about adding a receipt header to postpone the disconnect until the broker has responded with the appropriate RECEIPT frame.
Credit goes to @celesteking for making me aware of the confusion here.
The docs could probably be clearer on the asynchronous nature of messaging. It also wouldn't hurt to make the flushing behavior of
OnStomp::Client#disconnect
more prominent with a note about adding a receipt header to postpone the disconnect until the broker has responded with the appropriate RECEIPT frame.Credit goes to @celesteking for making me aware of the confusion here.