TARGCLIENTMATCHING

This property determines whether a reply message, sent to the queue identified by the JMSReplyTo header field of an incoming message, has an MQRFH2 header only if the incoming message has an MQRFH2 header.

Applicable Objects

ConnectionFactory, QueueConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory

JMS administration tool long name: TARGCLIENTMATCHING

JMS administration tool short name: TCM

Programmatic access

Setters/getters

  • MQConnectionFactory.setTargetClientMatching()
  • MQConnectionFactory.getTargetClientMatching()

Values

YES
If an incoming message does not have an MQRFH2 header, the TARGCLIENT property of the Queue object derived from the JMSReplyTo header field of the message is sent to MQ. If the message does have an MQRFH2 header, the TARGCLIENT property is set to JMS instead. This is the default value for administrative tools.
For programs, use true.
NO
The TARGCLIENT property of the Queue object derived from the JMSReplyTo header field of an incoming message is always set to JMS.
For programs, use false.