IPWorks MQ 2020 JavaScript Edition

Questions / Feedback?

MaxMessages Property

The maximum number of messages retrieved from the queue.

Syntax


 getMaxMessages(): number;

 setMaxMessages(maxMessages: number): void;

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.

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