Returns queue, topic, or UNKNOWN.

Syntax

FUNCTION getReplyToDestinationType RETURNS CHARACTER.

Applies to

Message objects

Notes

  • Applications use this function when the domain of the ReplyTo field is not known.
  • The type value can be queue or topic.
  • If getReplyToDestinationType function is not called, a default type is automatically set when the message is sent, according to the type of the session: queue for PTP or topic for Pub/Sub.
  • For a jmsSession, the default is queue.

See also

setJMSReplyTo procedure, getJMSReplyTo function, hasReplyTo function, setReplyToDestinationType procedure, getReplyToDestinationType function

For more information, see the Accessing message header properties.