MessageTTL Property
The time-to-live value for this message.
Syntax
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;
#define PID_AMQP_MESSAGETTL 64 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AMQP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
-1
Remarks
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
Long64