MessageTTL Property

The time-to-live value for this message.


ANSI (Cross Platform)
int64 GetMessageTTL();
int SetMessageTTL(int64 lMessageTTL); Unicode (Windows) LONG64 GetMessageTTL();
INT SetMessageTTL(LONG64 lMessageTTL);
@property (nonatomic,readwrite,assign,getter=messageTTL,setter=setMessageTTL:) long long messageTTL;
- (long long)messageTTL;
- (void)setMessageTTL:(long long)newMessageTTL;

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



The time-to-live value for this message.

This property specifies the time-to-live (TTL) value, in milliseconds, for this message. It may be -1 if this message does not have a TTL.

This property is not available at design time.

Data Type


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