MessageDurable Property

Whether this message is durable.

Syntax

ANSI (Cross Platform)
int GetMessageDurable();
int SetMessageDurable(int bMessageDurable); Unicode (Windows) BOOL GetMessageDurable();
INT SetMessageDurable(BOOL bMessageDurable);
@property (nonatomic,readwrite,assign,getter=messageDurable,setter=setMessageDurable:) BOOL messageDurable;
- (BOOL)messageDurable;
- (void)setMessageDurable:(BOOL)newMessageDurable;
#define PID_AMQP_MESSAGEDURABLE 52

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_AMQP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

Whether this message is durable.

This property specifies whether this message is durable or not.

If a message is marked as durable, any intermediate nodes which cannot guarantee that the message won't be lost under any circumstances will not accept the message.

This property is not available at design time.

Data Type

Boolean

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