[V8.0.0.2 Feb 2015]

JMS: changes to Bytes and Stream message states

In order to support Java Message Service 2.0, changes have been made to IBM® MQ 8.0.0, Fix Pack 2.

The JMS 2.0 specification states that a Bytes or Stream message that has just been sent should be in a read only state. From IBM MQ 8.0.0, Fix Pack 2, a system property or entry in the jms.config file of com.ibm.msg.client.jms.ByteStreamReadOnlyAfterSend=xxxx where xxxx is either TRUE or FALSE, can be set to define whether IBM MQ classes for JMS should set the state of the message that has just been sent to read only, or write only:
  • TRUE means that the objects are set to read only after being sent.
  • FALSE means that the objects are set to write only after being sent. This is the default value.

For more information, see Properties used to configure JMS client behavior.

For further details about JMS 2.0, see the JMS 2.0 specification at Java.net.