IncomingMessageSubscriptionIdentifiers Property

A comma separated list of any SubscriptionIdentifiers associated with any client subscription(s) that caused this message to be delivered.

Syntax

ANSI (Cross Platform)
char* GetIncomingMessageSubscriptionIdentifiers(int iIncomingMessageIndex);

Unicode (Windows)
LPWSTR GetIncomingMessageSubscriptionIdentifiers(INT iIncomingMessageIndex);
- (NSString*)incomingMessageSubscriptionIdentifiers:(int)incomingMessageIndex;
#define PID_MQTT_INCOMINGMESSAGESUBSCRIPTIONIDENTIFIERS 22

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_MQTT_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_MQTT_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

A comma separated list of any SubscriptionIdentifiers associated with any client subscription(s) that caused this message to be delivered.

This property is only applicable to incoming messages.

If SubscriptionIdentifier is set when subscribing, it will be included in any messages delivered by the broker for the topics specified in that packet.

See the Subscribe method for more details.

Valid only for MQTT 5.

The IncomingMessageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the IncomingMessageCount property.

This property is read-only and not available at design time.

Data Type

String

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