public class JmsTextMessage extends JmsMessage implements javax.jms.TextMessage
acknowledgeCallback, connection, readOnly, readOnlyBody, readOnlyProperties, validatePropertyNames| Constructor and Description |
|---|
JmsTextMessage(JmsTextMessageFacade facade) |
| Modifier and Type | Method and Description |
|---|---|
JmsTextMessage |
copy() |
protected <T> T |
doGetBody(Class<T> asType) |
String |
getText() |
boolean |
isBodyAssignableTo(Class target) |
void |
setText(String text) |
String |
toString() |
acknowledge, checkReadOnly, checkReadOnlyBody, checkReadOnlyProperties, checkWriteOnlyBody, clearBody, clearProperties, copy, equals, getAcknowledgeCallback, getAllPropertyNames, getBody, getBooleanProperty, getByteProperty, getConnection, getDoubleProperty, getFacade, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isExpired, isReadOnly, isReadOnlyBody, isReadOnlyProperties, isValidatePropertyNames, onDispatch, onSend, onSendComplete, propertyExists, setAcknowledgeCallback, setBooleanProperty, setByteProperty, setConnection, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReadOnly, setReadOnlyBody, setReadOnlyProperties, setShortProperty, setStringProperty, setValidatePropertyNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitacknowledge, 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, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertypublic JmsTextMessage(JmsTextMessageFacade facade)
public JmsTextMessage copy() throws javax.jms.JMSException
copy in class JmsMessagejavax.jms.JMSExceptionpublic void setText(String text) throws javax.jms.JMSException, javax.jms.MessageNotWriteableException
setText in interface javax.jms.TextMessagejavax.jms.JMSExceptionjavax.jms.MessageNotWriteableExceptionpublic String getText() throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSExceptionpublic String toString()
toString in class JmsMessagepublic boolean isBodyAssignableTo(Class target) throws javax.jms.JMSException
isBodyAssignableTo in interface javax.jms.MessageisBodyAssignableTo in class JmsMessagejavax.jms.JMSExceptionprotected <T> T doGetBody(Class<T> asType) throws javax.jms.JMSException
doGetBody in class JmsMessagejavax.jms.JMSExceptionCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.