IDestinationobject to which a reply to this message should be sent.
JMSReplyTo header field contains the destination where a reply to the current message should be sent. If it is null, no reply is expected. The destination may be either an
IQueue object or an
Messages sent with a null
JMSReplyTo value may be a notification of some event, or they may just be some data the sender thinks is of interest.
Messages with a
JMSReplyTo value typically expect a response. A response is optional; it is up to the client to decide. These messages are called requests. A message sent in response to a request is called a reply.
In some cases a client may wish to match a request it sent earlier with a reply it has just received. The client can use the
JMSCorrelationID header field for this purpose.
|MessageException||if JMS fails to set the |