MessageOut Event
Fired after a message has been sent.
Syntax
stomp.on('MessageOut', [callback])
Callback
The 'callback' is called when the 'MessageOut' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.destination e.data (buffer) e.contentType
Remarks
This event fires after a message has been sent using either SendMessage or SendData. The following parameters are available within this event:
- Destination: The destination the message was sent to.
- Data: The message's payload.
- ContentType: The content type of the message (always empty for messages sent with SendData).