setText

 

public void setText(String messageText) throws JMSException;

Sets the String containing this message's data.

Parameters

  • messageText - the String containing the message's data

Exceptions

  • JMSException - if an internal error occurs.

  • javax.jms.MessageNotWriteableException - if the message is in read-only mode.


uj27260_