Subscribed Event

Fired when the class has subscribed to a message destination on the server.

Syntax

ANSI (Cross Platform)
virtual int FireSubscribed(STOMPSubscribedEventParams *e);
typedef struct {
const char *Id;
const char *Destination;
int RequireAcks; int reserved; } STOMPSubscribedEventParams; Unicode (Windows) virtual INT FireSubscribed(STOMPSubscribedEventParams *e);
typedef struct {
LPCWSTR Id;
LPCWSTR Destination;
BOOL RequireAcks; INT reserved; } STOMPSubscribedEventParams;
- (void)onSubscribed:(NSString*)id :(NSString*)destination :(BOOL)requireAcks;
#define EID_STOMP_SUBSCRIBED 13

virtual INT IPWORKSMQ_CALL FireSubscribed(LPSTR &lpszId, LPSTR &lpszDestination, BOOL &bRequireAcks);

Remarks

This event fires each time the class has subscribed to a message destination on the server. The following parameters are available within this event:

  • Id: The Id used to identify the subscription.
  • Destination: The message destination on the server which the subscription is associated with.
  • RequireAcks: Whether messages the class receives as a result of the subscription will require acknowledgments to be sent back to the server.

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