MessageOut Event

Fires when the class sends a message.

Syntax

ANSI (Cross Platform)
virtual int FireMessageOut(AMQPMessageOutEventParams *e);
typedef struct {
const char *SessionName;
int SessionIndex;
const char *LinkName;
int LinkIndex;
const char *MessageId; int reserved; } AMQPMessageOutEventParams; Unicode (Windows) virtual INT FireMessageOut(AMQPMessageOutEventParams *e);
typedef struct {
LPCWSTR SessionName;
INT SessionIndex;
LPCWSTR LinkName;
INT LinkIndex;
LPCWSTR MessageId; INT reserved; } AMQPMessageOutEventParams;
- (void)onMessageOut:(NSString*)sessionName :(int)sessionIndex :(NSString*)linkName :(int)linkIndex :(NSString*)messageId;
#define EID_AMQP_MESSAGEOUT 8

virtual INT IPWORKSMQ_CALL FireMessageOut(LPSTR &lpszSessionName, INT &iSessionIndex, LPSTR &lpszLinkName, INT &iLinkIndex, LPSTR &lpszMessageId);

Remarks

This event fires whenever the class sends a message.

SessionName is the name of the session the message was transmitted on.

SessionIndex is the index of the session in the Session* properties.

LinkName is the name of the link the message was transmitted on.

LinkIndex is the index of the link in the Link* properties.

MessageId is the Id of the message; it may be empty if a message Id was not set.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8155]