MessageUserId Property

The identity of the user responsible for producing the message.

Syntax

ANSI (Cross Platform)
char* GetMessageUserId();
int SetMessageUserId(const char* lpszMessageUserId); Unicode (Windows) LPWSTR GetMessageUserId();
INT SetMessageUserId(LPCWSTR lpszMessageUserId);
@property (nonatomic,readwrite,assign,getter=messageUserId,setter=setMessageUserId:) NSString* messageUserId;
- (NSString*)messageUserId;
- (void)setMessageUserId:(NSString*)newMessageUserId;
#define PID_AMQPCLASSIC_MESSAGEUSERID 55

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQPClassic_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AMQPClassic_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

The identity of the user responsible for producing the message.

This property specifies the identity of the user responsible for producing the message. It may be empty if no specific user was responsible for creating the message.

A message's user Id may be used for verification or authentication by the server and/or the final consumer.

This value must be specified as a string no longer than 255 characters.

This property is 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 8155]