setJMSReplyTo procedure

Sets a destination for replies.

Syntax

PROCEDURE setJMSReplyTo
DEFINE INPUT PARAMETER destination AS CHARACTER.

Applies to

Message objects

Notes

  • The destination can be a name of a queue if the message is sent by a Pub/Sub session.
  • The destination can be the name of the topic if the message is sent by a PTP session.
  • setReplyToDestinationType procedure must be called to set the correct destination type.

See also

#rfi1387308709338, getJMSReplyTo function, hasReplyTo function, setReplyToDestinationType procedure, getReplyToDestinationType function

For more information, see the Accessing message header properties.