createObjectMessage

 

public ObjectMessage createObjectMessage() throws JMSException;

Creates an ObjectMessage. An ObjectMessage is used to send a message that contains a serializable Java™ object.

Returns

  • ObjectMessage

Exceptions

  • IllegalStateException - with reason MQJMS_E_SESSION_CLOSED .


uj30170_