MessageOut Event
Fired after a message has been sent.
Syntax
ANSI (Cross Platform) virtual int FireMessageOut(STOMPMessageOutEventParams *e);
typedef struct {
const char *Destination;
const char *Data; int lenData;
const char *ContentType; int reserved; } STOMPMessageOutEventParams; Unicode (Windows) virtual INT FireMessageOut(STOMPMessageOutEventParams *e);
typedef struct {
LPCWSTR Destination;
LPCSTR Data; INT lenData;
LPCWSTR ContentType; INT reserved; } STOMPMessageOutEventParams;
- (void)onMessageOut:(NSString*)destination :(NSData*)data :(NSString*)contentType;
#define EID_STOMP_MESSAGEOUT 7 virtual INT IPWORKSMQ_CALL FireMessageOut(LPSTR &lpszDestination, LPSTR &lpData, INT &lenData, LPSTR &lpszContentType);
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).