MaxMessages Property

The maximum number of messages retrieved from the queue.

Object Oriented Interface

public function getMaxMessages();
public function setMaxMessages($value);

Procedural Interface

ipworksmq_amazonsqs_get($res, 12 );
ipworksmq_amazonsqs_set($res, 12, $value );

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

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