com.ibm.msg.client.jms
Interface JmsMessage
-
- All Superinterfaces:
- javax.jms.Message, java.io.Serializable
- All Known Implementing Classes:
- JMSBytesMessage, JMSMapMessage, JMSMessage, JMSObjectMessage, JMSStreamMessage, JMSTextMessage
public interface JmsMessage extends javax.jms.Message, java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description javax.jms.MessagegetDelegate()Used for Messages that encapsulate a different Message, possibly from a different providervoidupdateFromMessage(javax.jms.Message message)Updates the properties of this message with all the details of the JmsMessage passed to it.-
Methods inherited from interface javax.jms.Message
acknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, isBodyAssignableTo, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
-
-
-
-
Method Detail
-
updateFromMessage
void updateFromMessage(javax.jms.Message message) throws javax.jms.JMSExceptionUpdates the properties of this message with all the details of the JmsMessage passed to it. This method is intended to be implemented in a synchronized way to avoid multiple concurrent calls resulting in a mix of different updates.- Parameters:
message-- Throws:
javax.jms.JMSException
-
getDelegate
javax.jms.Message getDelegate()
Used for Messages that encapsulate a different Message, possibly from a different provider- Returns:
- the encapsulated Message object
-
-