MaxMessages Property
The maximum number of messages retrieved from the queue.
Syntax
ANSI (Cross Platform) int GetMaxMessages();
int SetMaxMessages(int iMaxMessages); Unicode (Windows) INT GetMaxMessages();
INT SetMaxMessages(INT iMaxMessages);
@property (nonatomic,readwrite,assign,getter=maxMessages,setter=setMaxMessages:) int maxMessages; - (int)maxMessages; - (void)setMaxMessages:(int)newMaxMessages;
#define PID_AMAZONSQS_MAXMESSAGES 12 IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AmazonSQS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AmazonSQS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
1
Remarks
The maximum number of messages retrieved by ListMessages. This is not the number of messages that will be returned, but just the maximum number that will be returned.
Amazon's SQS service dictates that this parameter should be between 1 to 10, all other values are illegal.
Data Type
Integer