public class WrappingObjectMessage extends DelegateMessage
Constructor and Description |
---|
WrappingObjectMessage(ObjectMessage message) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getBody(java.lang.Class<T> c) |
java.io.Serializable |
getObject() |
boolean |
isBodyAssignableTo(java.lang.Class c) |
void |
setObject(java.io.Serializable object) |
acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, unwrap
public boolean isBodyAssignableTo(java.lang.Class c) throws JMSException
isBodyAssignableTo
in class DelegateMessage
JMSException
public <T> T getBody(java.lang.Class<T> c) throws JMSException
getBody
in class DelegateMessage
JMSException
public void setObject(java.io.Serializable object) throws JMSException
JMSException
public java.io.Serializable getObject() throws JMSException
JMSException