createMessage

 

public Message createMessage() throws JMSException;

Creates a Message. The Message interface is the root interface of all JMS messages. It holds all the standard message header information. It can be sent when a message containing only header information is sufficient.

Returns

  • Message

Exceptions

  • JMSException - with reason MQJMS_E_SESSION_CLOSED .


uj30160_