+

Search Tips | Advanced Search

REPLYTOSTYLE

Determines how the JMSReplyTo field in a received message is constructed.


Applicable Objects

ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory

JMS administration tool long name: REPLYTOSTYLE

JMS administration tool short name: RTOST


Programmatic access

Setters/getters

  • MQConnectionFactory.setReplyToStyle()
  • MQConnectionFactory.getReplyToStyle()


Values

    DEFAULT
    Equivalent to MQMD.

    RFH2
    Use the value supplied in the RFH2 header. If a JMSReplyTo value has been set in the sending application, use that value.

    MQMD
    Use the MQMD supplied value. This behavior is equivalent to the default behavior of IBM WebSphere MQ Version 6.0.2.4 and 6.0.2.5.

If the JMSReplyTo value set by the sending application does not contain a queue manager name, the receiving queue manager inserts its own name in the MQMD. If you set this parameter to MQMD, the reply-to queue we use is on the receiving queue manager. If you set this parameter to RFH2, the reply-to queue we use is on the queue manager specified in the RFH2 of the sent message as originally set by the sending application.

If the JMSReplyTo value set by the sending application contains a queue manager name, the value of this parameter is unimportant because both the MQMD and RFH2 contain the same value.

Parent topic: Properties of IBM MQ classes for JMS objects

Last updated: 2020-10-04