Inheritance diagram for org.objectweb.joram.client.jms.Message:


Public Member Functions | |
| void | acknowledge () throws JMSException |
| void | clearBody () throws JMSException |
| void | setReadOnly () |
| final String | getJMSMessageID () throws JMSException |
| final void | setJMSMessageID (String id) throws JMSException |
| final int | getJMSPriority () throws JMSException |
| final void | setJMSPriority (int priority) throws JMSException |
| final javax.jms.Destination | getJMSDestination () throws JMSException |
| final void | setJMSDestination (javax.jms.Destination dest) throws JMSException |
| final long | getJMSExpiration () throws JMSException |
| final void | setJMSExpiration (long expiration) throws JMSException |
| final boolean | getJMSRedelivered () throws JMSException |
| final void | setJMSRedelivered (boolean redelivered) throws JMSException |
| final javax.jms.Destination | getJMSReplyTo () throws JMSException |
| final void | setJMSReplyTo (javax.jms.Destination replyTo) throws JMSException |
| final long | getJMSTimestamp () throws JMSException |
| final void | setJMSTimestamp (long timestamp) throws JMSException |
| final String | getJMSCorrelationID () throws JMSException |
| final void | setJMSCorrelationID (String correlationID) throws JMSException |
| final byte[] | getJMSCorrelationIDAsBytes () throws JMSException |
| final void | setJMSCorrelationIDAsBytes (byte[] correlationID) |
| final int | getJMSDeliveryMode () throws JMSException |
| final void | setJMSDeliveryMode (int deliveryMode) throws JMSException |
| final String | getJMSType () throws JMSException |
| final void | setJMSType (String type) throws JMSException |
| void | getOptionalHeader (Hashtable h) |
| final void | clearProperties () throws JMSException |
| final void | resetPropertiesRO () throws JMSException |
| final boolean | propertyExists (String name) throws JMSException |
| void | getProperties (Hashtable h) |
| final Enumeration | getPropertyNames () throws JMSException |
| final void | setBooleanProperty (String name, boolean value) throws JMSException |
| final void | setByteProperty (String name, byte value) throws JMSException |
| final void | setShortProperty (String name, short value) throws JMSException |
| final void | setIntProperty (String name, int value) throws JMSException |
| final void | setLongProperty (String name, long value) throws JMSException |
| final void | setFloatProperty (String name, float value) throws JMSException |
| final void | setDoubleProperty (String name, double value) throws JMSException |
| final void | setStringProperty (String name, String value) throws JMSException |
| final void | setObjectProperty (String name, Object value) throws JMSException |
| final boolean | getBooleanProperty (String name) throws JMSException |
| final byte | getByteProperty (String name) throws JMSException |
| final short | getShortProperty (String name) throws JMSException |
| final int | getIntProperty (String name) throws JMSException |
| final long | getLongProperty (String name) throws JMSException |
| final float | getFloatProperty (String name) throws JMSException |
| final double | getDoubleProperty (String name) throws JMSException |
| final String | getStringProperty (String name) throws JMSException |
| final Object | getObjectProperty (String name) throws JMSException |
| org.objectweb.joram.shared.messages.Message | getMomMsg () |
| String | toString () |
| void | toString (StringBuffer strbuf) |
Static Public Member Functions | |
| static Message | wrapMomMessage (Session session, org.objectweb.joram.shared.messages.Message momMsg) throws JMSException |
| static Message | convertJMSMessage (javax.jms.Message jmsMsg) throws JMSException |
Public Attributes | |
| boolean | propertiesRO = false |
Protected Member Functions | |
| Message () | |
| Message (Session session, org.objectweb.joram.shared.messages.Message momMsg) | |
| void | prepare () throws JMSException |
Protected Attributes | |
| org.objectweb.joram.shared.messages.Message | momMsg |
| transient Session | session = null |
| transient javax.jms.Destination | jmsDest = null |
| boolean | RObody = false |
javax.jms.Message interface. A Joram message encapsulates a proprietary message which is also used for effective MOM transport facility.
Definition at line 45 of file Message.java.
| org.objectweb.joram.client.jms.Message.Message | ( | ) | [protected] |
Constructs a bright new Message.
Definition at line 51 of file Message.java.
References org.objectweb.joram.client.jms.Message.Message(), and org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage(), org.objectweb.joram.client.jms.Message.Message(), and org.objectweb.joram.client.jms.Message.wrapMomMessage().
Here is the call graph for this function:

| org.objectweb.joram.client.jms.Message.Message | ( | Session | session, | |
| org.objectweb.joram.shared.messages.Message | momMsg | |||
| ) | [protected] |
Instanciates a Message wrapping a consumed MOM simple message.
| session | The consuming session. | |
| momMsg | The MOM message to wrap. |
Definition at line 96 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg, org.objectweb.joram.client.jms.Message.session, and org.objectweb.joram.client.jms.Message.setReadOnly().
Here is the call graph for this function:

| void org.objectweb.joram.client.jms.Message.acknowledge | ( | ) | throws JMSException |
API method.
| IllegalStateException | If the session is closed. | |
| JMSException | If the acknowledgement fails for any other reason. |
Definition at line 110 of file Message.java.
References org.objectweb.joram.client.jms.Session.acknowledge(), org.objectweb.joram.client.jms.Session.getAcknowledgeMode(), org.objectweb.joram.client.jms.Session.getTransacted(), and org.objectweb.joram.client.jms.Message.session.
Here is the call graph for this function:

| void org.objectweb.joram.client.jms.Message.clearBody | ( | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Reimplemented in org.objectweb.joram.client.jms.BytesMessage, org.objectweb.joram.client.jms.MapMessage, and org.objectweb.joram.client.jms.StreamMessage.
Definition at line 126 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg, and org.objectweb.joram.client.jms.Message.RObody.
Referenced by org.objectweb.joram.client.jms.admin.AdminMessage.setAdminMessage(), and org.objectweb.joram.client.jms.ObjectMessage.setObject().
| void org.objectweb.joram.client.jms.Message.setReadOnly | ( | ) |
set message read-only
Definition at line 132 of file Message.java.
References org.objectweb.joram.client.jms.Message.propertiesRO, and org.objectweb.joram.client.jms.Message.RObody.
Referenced by org.objectweb.joram.client.jms.Message.Message().
| final String org.objectweb.joram.client.jms.Message.getJMSMessageID | ( | ) | throws JMSException |
Returns the message identifier. API method.
| JMSException | Actually never thrown. |
Definition at line 143 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSMessageID | ( | String | id | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 152 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage().
| final int org.objectweb.joram.client.jms.Message.getJMSPriority | ( | ) | throws JMSException |
Returns the message priority. API method.
| JMSException | Actually never thrown. |
Definition at line 162 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSPriority | ( | int | priority | ) | throws JMSException |
API method.
| JMSException | If the priority value is incorrect. |
Definition at line 171 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final javax.jms.Destination org.objectweb.joram.client.jms.Message.getJMSDestination | ( | ) | throws JMSException |
Returns the message destination. This field is set by Session.send(), it can be overloaded for received messages. API method.
| JMSException | Actually never thrown. |
Definition at line 187 of file Message.java.
References org.objectweb.joram.client.jms.Message.jmsDest, org.objectweb.joram.client.jms.Message.momMsg, and org.objectweb.joram.client.jms.Destination.newInstance().
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
Here is the call graph for this function:

| final void org.objectweb.joram.client.jms.Message.setJMSDestination | ( | javax.jms.Destination | dest | ) | throws JMSException |
Set the message destination. This field is set when message is sent. This method can be used to change the value for a message that has been received. API method.
| JMSException | If the destination id not a Joram's one. |
Definition at line 209 of file Message.java.
References org.objectweb.joram.client.jms.Destination.getName(), org.objectweb.joram.client.jms.Destination.getType(), org.objectweb.joram.client.jms.Message.jmsDest, and org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage().
Here is the call graph for this function:

| final long org.objectweb.joram.client.jms.Message.getJMSExpiration | ( | ) | throws JMSException |
Returns the message expiration time. API method.
| JMSException | Actually never thrown. |
Definition at line 226 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSExpiration | ( | long | expiration | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 235 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final boolean org.objectweb.joram.client.jms.Message.getJMSRedelivered | ( | ) | throws JMSException |
Gets an indication of whether this message is being redelivered. API method.
| JMSException | Actually never thrown. |
Definition at line 246 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSRedelivered | ( | boolean | redelivered | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 255 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final javax.jms.Destination org.objectweb.joram.client.jms.Message.getJMSReplyTo | ( | ) | throws JMSException |
Gets the Destination object to which a reply to this message should be sent. API method.
| JMSException | Actually never thrown. |
Definition at line 266 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg, and org.objectweb.joram.client.jms.Destination.newInstance().
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
Here is the call graph for this function:

| final void org.objectweb.joram.client.jms.Message.setJMSReplyTo | ( | javax.jms.Destination | replyTo | ) | throws JMSException |
API method.
| JMSException | If the destination id not a Joram's one. |
Definition at line 283 of file Message.java.
References org.objectweb.joram.client.jms.Destination.getName(), org.objectweb.joram.client.jms.Destination.getType(), and org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage().
Here is the call graph for this function:

| final long org.objectweb.joram.client.jms.Message.getJMSTimestamp | ( | ) | throws JMSException |
Returns the message time stamp. API method.
| JMSException | Actually never thrown. |
Definition at line 302 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSTimestamp | ( | long | timestamp | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 311 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final String org.objectweb.joram.client.jms.Message.getJMSCorrelationID | ( | ) | throws JMSException |
Returns the message correlation identifier. API method.
| JMSException | Actually never thrown. |
Definition at line 321 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSCorrelationID | ( | String | correlationID | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 330 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage().
| final byte [] org.objectweb.joram.client.jms.Message.getJMSCorrelationIDAsBytes | ( | ) | throws JMSException |
API method.
| MessageFormatException | In case of a problem while retrieving the field. |
Definition at line 340 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final void org.objectweb.joram.client.jms.Message.setJMSCorrelationIDAsBytes | ( | byte[] | correlationID | ) |
API method.
| JMSException | Actually never thrown. |
Definition at line 353 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg, and org.objectweb.joram.client.jms.Message.toString().
Here is the call graph for this function:

| final int org.objectweb.joram.client.jms.Message.getJMSDeliveryMode | ( | ) | throws JMSException |
Returns true if the message is persistent. API method.
| JMSException | Actually never thrown. |
Definition at line 363 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
| final void org.objectweb.joram.client.jms.Message.setJMSDeliveryMode | ( | int | deliveryMode | ) | throws JMSException |
API method.
| JMSException | If the delivery mode is incorrect. |
Definition at line 375 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final String org.objectweb.joram.client.jms.Message.getJMSType | ( | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 388 of file Message.java.
References org.objectweb.joram.client.jms.Message.getOptionalHeader(), and org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageDigest(), org.objectweb.joram.client.jms.Queue.getMessageHeader(), and org.objectweb.joram.client.jms.Message.toString().
Here is the call graph for this function:

| final void org.objectweb.joram.client.jms.Message.setJMSType | ( | String | type | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 397 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage().
| void org.objectweb.joram.client.jms.Message.getOptionalHeader | ( | Hashtable | h | ) |
Copies all of the mappings from the optionalHeader of this message to the specified hashtable. These mappings will replace any mappings that this Hashtable had for any of the keys currently in the optional header.
Definition at line 406 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Message.getJMSType(), and org.objectweb.joram.client.jms.Queue.getMessageHeader().
| final void org.objectweb.joram.client.jms.Message.clearProperties | ( | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 423 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg, and org.objectweb.joram.client.jms.Message.propertiesRO.
| final void org.objectweb.joram.client.jms.Message.resetPropertiesRO | ( | ) | throws JMSException |
Resets the read-only flag, in order to allow the modification of message properties.
| JMSException | Actually never thrown. |
Definition at line 437 of file Message.java.
References org.objectweb.joram.client.jms.Message.propertiesRO.
| final boolean org.objectweb.joram.client.jms.Message.propertyExists | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| JMSException | Actually never thrown. |
Definition at line 448 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| void org.objectweb.joram.client.jms.Message.getProperties | ( | Hashtable | h | ) |
Copies all of the mappings from the properties of this message to the specified hashtable. These mappings will replace any mappings that this Hashtable had for any of the keys currently in the properties.
Definition at line 460 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Queue.getMessageProperties().
| final Enumeration org.objectweb.joram.client.jms.Message.getPropertyNames | ( | ) | throws JMSException |
API method.
| JMSException | Actually never thrown. |
Definition at line 470 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
| final void org.objectweb.joram.client.jms.Message.setBooleanProperty | ( | String | name, | |
| boolean | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 486 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setByteProperty | ( | String | name, | |
| byte | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 499 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setShortProperty | ( | String | name, | |
| short | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 512 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setIntProperty | ( | String | name, | |
| int | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 525 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setLongProperty | ( | String | name, | |
| long | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 538 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setFloatProperty | ( | String | name, | |
| float | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 551 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setDoubleProperty | ( | String | name, | |
| double | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 564 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setStringProperty | ( | String | name, | |
| String | value | |||
| ) | throws JMSException |
API method.
| name | The property name. | |
| value | The property value. |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid. |
Definition at line 577 of file Message.java.
| final void org.objectweb.joram.client.jms.Message.setObjectProperty | ( | String | name, | |
| Object | value | |||
| ) | throws JMSException |
API method, sets a property value.
| name | The property name. | |
| value | The property value. |
| MessageROException | If the message properties are read-only. | |
| MessageFormatException | If the value is not a Java primitive object. | |
| IllegalArgumentException | If the key name is illegal (null or empty string). | |
| MessageFormatException | If the property type is invalid. | |
| MessageNotWriteableException | If the message is read-only. | |
| JMSException | If the property name is invalid, or if the object is invalid. |
Definition at line 599 of file Message.java.
Referenced by org.objectweb.joram.client.jms.Message.convertJMSMessage().
| final boolean org.objectweb.joram.client.jms.Message.getBooleanProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 667 of file Message.java.
| final byte org.objectweb.joram.client.jms.Message.getByteProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 683 of file Message.java.
| final short org.objectweb.joram.client.jms.Message.getShortProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 699 of file Message.java.
| final int org.objectweb.joram.client.jms.Message.getIntProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 715 of file Message.java.
| final long org.objectweb.joram.client.jms.Message.getLongProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 731 of file Message.java.
| final float org.objectweb.joram.client.jms.Message.getFloatProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 747 of file Message.java.
| final double org.objectweb.joram.client.jms.Message.getDoubleProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 763 of file Message.java.
| final String org.objectweb.joram.client.jms.Message.getStringProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| MessageFormatException | If the property type is invalid. | |
| JMSException | If the name is invalid. |
Definition at line 779 of file Message.java.
| final Object org.objectweb.joram.client.jms.Message.getObjectProperty | ( | String | name | ) | throws JMSException |
API method.
| name | The property name. |
| JMSException | If the name is invalid. |
Definition at line 790 of file Message.java.
| static Message org.objectweb.joram.client.jms.Message.convertJMSMessage | ( | javax.jms.Message | jmsMsg | ) | throws JMSException [static] |
Converts a non-Joram JMS message into a Joram message.
| JMSException | If an error occurs while building the message. |
Definition at line 818 of file Message.java.
References org.objectweb.joram.client.jms.Message.Message(), org.objectweb.joram.client.jms.Message.setJMSCorrelationID(), org.objectweb.joram.client.jms.Message.setJMSDestination(), org.objectweb.joram.client.jms.Message.setJMSMessageID(), org.objectweb.joram.client.jms.Message.setJMSReplyTo(), org.objectweb.joram.client.jms.Message.setJMSType(), and org.objectweb.joram.client.jms.Message.setObjectProperty().
Referenced by org.objectweb.joram.client.jms.Session.send().
Here is the call graph for this function:

| void org.objectweb.joram.client.jms.Message.prepare | ( | ) | throws JMSException [protected] |
Method preparing the message for sending; resets header values, and serializes the body (done in subclasses).
| MessageFormatException | If an error occurs while serializing. |
Reimplemented in org.objectweb.joram.client.jms.BytesMessage, org.objectweb.joram.client.jms.MapMessage, and org.objectweb.joram.client.jms.StreamMessage.
Definition at line 884 of file Message.java.
References org.objectweb.joram.client.jms.Message.momMsg.
Referenced by org.objectweb.joram.client.jms.Session.send().