IncomingMessageTTL Property

The time-to-live value for this message.

Syntax

ANSI (Cross Platform)
int64 GetIncomingMessageTTL(int iIncomingMessageIndex);

Unicode (Windows)
LONG64 GetIncomingMessageTTL(INT iIncomingMessageIndex);
- (long long)incomingMessageTTL:(int)incomingMessageIndex;
#define PID_AMQP_INCOMINGMESSAGETTL 31

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_CheckIndex(void *lpObj, int propid, int arridx);

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.

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

Long64

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