maxMessageCount

Type: Integer

The maxMessageCount property of the JadeGenericQueue class contains the maximum number of messages that can be present in the queue.

The behavior depends on the transport. In the JadeMQ transport, a call to the putMessage method is blocked until the number of messages in the queue falls below this limit. (You can specify a Timeout value as part of the options parameter to the putMessage method, to limit the delay.)

In the JadeMQ transport, the default value of the maxMessageCount property is 100 and the maximum value is 1,000. In the WebSphere MQ transport, the value of the maxMessageCount property is 999,999,999, and attempts to change this value are ignored.