Hitachi

uCosminexus Application Server Command Reference Guide


5.7 Property settings of physical destination

This subsection describes the property settings specified in the -o option of the cjmsicmd create dst command (creating a physical destination) of the command utility.

Table 5‒7: List of physical destination property settings

Property

Description

maxNumMsgs

Specify the maximum number of messages that are not delivered to the consumer as an integer value from -1 to 2147483647. If this value is omitted, -1 will be set up. -1 indicates that there are infinite messages. If you omit this value for a dead message queue, 1000 will be set up.

If you specify 0, the value will be assumed as -1.

maxTotalMsgBytes

Specify the maximum value for the total memory size for the messages that are not delivered to the consumer as an integer value from -1 to 2147483647. You can also specify b (Bytes), k (Kilobyte), or m (Megabyte) as a suffix.

If this value is omitted, -1 will be set up. If you omit this value for a dead message queue, 10m will be set up.

If you omit the suffix, b will be assumed.

If you specify -1, the memory size will be infinite.

consumerFlowLimit

Specify the maximum number of messages that are delivered to the consumer in a batch as an integer value from -1 to 2147483647.

If this value is omitted, the following value will be set up according to the destination type:

  • Queue: 100

  • Topic: 1000

  • Dead message queue: 1000

If you specify -1, the number of messages will be infinite.

maxNumProducers

Specify the maximum number of producers as -1 or an integer value from 1 to 2147483647. If this value is omitted, -1 (infinite) will be set up.

New producers cannot be created, when the number of producers reaches the specified maximum value (excluding -1).

Also, you cannot specify 0. If you specify 0, an error message will be displayed.