LinkReceiveMode Property

The receive mode this link is operating in.

Syntax

ANSI (Cross Platform)
int GetLinkReceiveMode(int iLinkIndex);

Unicode (Windows)
INT GetLinkReceiveMode(INT iLinkIndex);

Possible Values

LRM_AUTOMATIC(0), 
LRM_FETCH(1)
- (int)linkReceiveMode:(int)linkIndex;

Possible Values

LRM_AUTOMATIC(0), 
LRM_FETCH(1)
#define PID_AMQP_LINKRECEIVEMODE 42

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

Default Value

0

Remarks

The receive mode this link is operating in.

This property reflects the receive mode which this link is operating in, if it is a receiver link. (For sender links, this property's value means nothing.) Values can be:

  • lrmAutomatic - Messages will be received automatically
  • lrmFetch - One message will be received after each call to the FetchMessage method.

Refer to ReceiveMode for more information.

The LinkIndex parameter specifies the index of the item in the array. The size of the array is controlled by the LinkCount property.

This property is read-only and not available at design time.

Data Type

Integer

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