FetchTimeout Property

How long the class should wait for a message to be received after FetchMessage is called.

Syntax

ANSI (Cross Platform)
int GetFetchTimeout();
int SetFetchTimeout(int iFetchTimeout); Unicode (Windows) INT GetFetchTimeout();
INT SetFetchTimeout(INT iFetchTimeout);
@property (nonatomic,readwrite,assign,getter=fetchTimeout,setter=setFetchTimeout:) int fetchTimeout;
- (int)fetchTimeout;
- (void)setFetchTimeout:(int)newFetchTimeout;
#define PID_AMQP_FETCHTIMEOUT 4

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

60

Remarks

This property controls how long, in seconds, the class will wait for a message to be received after FetchMessage is called before timing out the request. If set to zero, the class will wait indefinitely.

Refer to FetchMessage for more information.

This property is 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]