IBM WebSphere MQ and JMS/non-JMS consumers of messages

When the JMS Connector sends messages to IBM® WebSphere® MQ, it is capable of sending these messages in two different modes depending on the client which will read the provided messages. You can use the information provided here to know more this.

  • the messages are intended to be read by non-JMS clients (the default)
  • the messages are intended to be read by JMS clients
By default the Connector sends the messages so that they are intended to be read by non-JMS clients. The major difference between these two modes is that when the messages are intended to be read by non-JMS clients, the JMS properties are ignored. Thus a subsequent lookup on these properties will not find a match.

In order to switch to the "intended to be read by JMS clients" mode, the "Specific Driver Attributes" parameter value must contain the following line (apart from any other attributes specified): mq_nonjms=false