public class WrappingTextMessage extends DelegateMessage
Constructor and Description |
---|
WrappingTextMessage(TextMessage message) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getBody(java.lang.Class<T> c) |
java.lang.String |
getText() |
boolean |
isBodyAssignableTo(java.lang.Class c) |
void |
setText(java.lang.String string) |
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 java.lang.String getText() throws JMSException
JMSException
public void setText(java.lang.String string) throws JMSException
JMSException