XMSC_WMQ_MSG_BATCH_SIZE

    Data type:
    System.Int32

    Property of:
    ConnectionFactory

The maximum number of messages to be retrieved from a queue in one batch when using asynchronous message delivery.

When an application is using asynchronous message delivery, under certain conditions, the XMS client retrieves a batch of messages from a queue before forwarding each message individually to the application. This property specifies the maximum number of messages that can be in the batch.

The value of the property is a positive integer, and the default value is 10. Consider setting the property to a different value only if you have a specific performance problem that we need to address.

If an application is connected to a queue manager over a network, raising the value of this property can reduce network overheads and response times, but increase the amount of memory required to store the messages on the client system. Conversely, lowering the value of this property might increase network overheads and response times, but reduce the amount of memory required to store the messages.

Parent topic: Property definitions