Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


5.5.5 imq.autocreate.destination.maxNumMsgs

imq.autocreate.destination.maxNumMsgs sets the maximum number of unconsumed messages.

Description

imq.autocreate.destination.maxNumMsgs sets the maximum number of unconsumed messages.

Specifiable values

Type: Integer

<Allowed values>1 to 2147483647

Default value

If the definition item is omitted

100000

Notes

When the flow control is in effect (imq.autocreate.destination.limitBehavior = FLOW_CONTROL), it is possible for the specified message limit to be exceeded because the broker cannot react immediately to stop the flow of incoming messages. In such cases, the value specified for imq.autocreate.destination.maxNumMs gs serves as a hint for the broker rather than a strictly enforced limit.

However, if the number of unconsumed messages exceeds imq.system.max_count, then the broker generates ResourceAllocationException indicating that the destination is full and rejects new messages.