setJMSDestination

 

public void setJMSDestination(Destination destination) 
              throws JMSException;

Sets the destination for this message.

Any value set using this method is ignored when the message is sent, but this method can be used to change the value in a received message.

Parameters

  • destination - the destination for this message.

Exceptions

  • JMSException - if an internal error occurs.


uj26750_