ReceivedMessageDeliveryMode Property
The delivery mode of the message.
Syntax
ANSI (Cross Platform) int GetReceivedMessageDeliveryMode(); Unicode (Windows) INT GetReceivedMessageDeliveryMode();
@property (nonatomic,readonly,assign,getter=receivedMessageDeliveryMode) int receivedMessageDeliveryMode; - (int)receivedMessageDeliveryMode;
#define PID_AMQPCLASSIC_RECEIVEDMESSAGEDELIVERYMODE 80 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQPClassic_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
0
Remarks
The delivery mode of the message.
This property holds the delivery mode of the message; possible values are:
- 0: Unspecified.
- 1: Non-persistent; the message may be lost if the server encounters an error.
- 2: Persistent; the message will not be lost, even in case of server errors.
The default is 0, which indicates that the message does not have an explicit delivery mode set.
This property is read-only and not available at design time.
Data Type
Integer