setTargetClientMatching

 

public void setTargetClientMatching(boolean matchClient);

Enable or disable target client matching. If this is set to true, then only MQMD messages (those from a non-JMS application) containing a replyTo will have a JMS replyTo Destination constructed with targetClient set to JMSC.MQJMS_CLIENT_NONJMS_MQ. This ensures that the reply can be understood by the originator.

If this field is set to false, then replies will always contain an RFH2 header, even though the receiver might not understand the reply.

Note that this applies only to point-to-point destinations. This field is set to true by default.


uj28850_