public class JMSTextMessage extends AbstractJMSMessage implements javax.jms.TextMessage
Constructor and Description |
---|
JMSTextMessage(AMQMessageDelegateFactory delegateFactory) |
Modifier and Type | Method and Description |
---|---|
void |
clearBody() |
ByteBuffer |
getData() |
protected String |
getMimeType() |
String |
getText() |
void |
prepareForSending()
Invoked prior to sending the message.
|
void |
setText(String text) |
String |
toBodyString() |
acknowledge, acknowledgeThis, checkWritable, clearProperties, getAMQSession, getBooleanProperty, getByteProperty, getContentType, getDelegate, getDeliveryTag, getDoubleProperty, getEncoding, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getReplyToString, getShortProperty, getStringProperty, propertyExists, removeProperty, setAMQSession, setBooleanProperty, setByteProperty, setContentType, setDoubleProperty, setEncoding, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReceivedFromServer, setShortProperty, setStringProperty, toHeaderString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty
public JMSTextMessage(AMQMessageDelegateFactory delegateFactory) throws javax.jms.JMSException
javax.jms.JMSException
public String toBodyString() throws javax.jms.JMSException
toBodyString
in class AbstractJMSMessage
javax.jms.JMSException
protected String getMimeType()
getMimeType
in class AbstractJMSMessage
public ByteBuffer getData() throws javax.jms.JMSException
getData
in class AbstractJMSMessage
javax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
clearBody
in class AbstractJMSMessage
javax.jms.JMSException
public void setText(String text) throws javax.jms.JMSException
setText
in interface javax.jms.TextMessage
javax.jms.JMSException
public String getText() throws javax.jms.JMSException
getText
in interface javax.jms.TextMessage
javax.jms.JMSException
public void prepareForSending() throws javax.jms.JMSException
AbstractJMSMessage
prepareForSending
in class AbstractJMSMessage
javax.jms.JMSException
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.