IBM MQ Properties stanza

Use the IBM MQ Properties stanza to set properties that affect how the IBM MQ classes for JMS interact with IBM MQ.

    com.ibm.msg.client.wmq.compat.base.internal.MQQueue.smallMsgsBufferReductionThreshold
    When an application that uses the IBM MQ classes for JMS is connecting to an IBM MQ queue manager using IBM MQ messaging provider migration mode, the IBM MQ classes for JMS uses a default buffer size of 4 KB when it is receives messages. If the message that the application is trying to get is larger than 4 KB, the IBM MQ classes for JMS resizes the buffer to be large enough to accommodate the message. The larger buffer size is then used when subsequent messages are received.

    This property controls when the buffer size is reduced back to 4 KB. By default, when ten consecutive messages that are less than the larger buffer size are received, the buffer size is reduced back to 4 KB. To reset the buffer size back to 4 KB every time a message is received, set the property to the value 0.

      0

      The buffer always resets to the default size.

      10

      This is the default value. The buffer will be resized after the tenth message.

    com.ibm.msg.client.wmq.receiveConversionCCSID
    When an application that is using the IBM MQ classes for JMS is connecting to an IBM MQ queue manager using IBM MQ messaging provider normal mode, the receiveConversionCCSID property can be set to override the default CCSID value in the MQMD structure that is used to receive messages from the queue manager. By default, the MQMD contains a CCSID field set to 1208, but this can be changed if, for example, the queue manager is unable to convert messages to this code page. Valid values are any valid CCSID number or one of the following values:

      -1
      Use the platform default.

      1208
      This is the default value.

Parent topic: The IBM MQ classes for JMS configuration file