getJMSDestination
public Destination getJMSDestination() throws JMSException;
Gets the destination for this message.
The destination field contains the destination to which the message is being sent.
When a message is sent, this value is ignored. After completion of the send method it holds the destination specified by the send.
When a message is received, its destination value must be equivalent to the value assigned when it was sent.
- Returns
- the destination of this message.
- Exceptions
- JMSException - with reason MQJMS_EXCEPTION_INVALID_DESTINATION
uj26530_