createTextMessage

 

public TextMessage createTextMessage(String string) throws JMSException;

Creates an initialized TextMessage.

Parameters

  • string - the string used to initialize this message.

Returns

  • TextMessage

Exceptions

  • JMSException - IllegalStateException with key MQJMS_E_SESSION_CLOSED.


uj30250_