ChannelAccept Property
Whether the channel is currently accepting new messages from the server.
Syntax
ANSI (Cross Platform) int GetChannelAccept(int iChannelIndex); Unicode (Windows) BOOL GetChannelAccept(INT iChannelIndex);
- (BOOL)channelAccept:(int)channelIndex;
#define PID_AMQPCLASSIC_CHANNELACCEPT 7 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQPClassic_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AMQPClassic_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
TRUE
Remarks
Whether the channel is currently accepting new messages from the server.
This property reflects whether the channel is currently accepting new messages from the server. When the channel is created, this property is True by default.
The SetChannelAccept method can be used to disable and re-enable message acceptance at any time; refer to that method for more information.
The ChannelIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ChannelCount property.
This property is read-only and not available at design time.
Data Type
Boolean