|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.stompjms.message.StompJmsMessage
org.fusesource.stompjms.message.StompJmsTextMessage
public class StompJmsTextMessage
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.fusesource.stompjms.message.StompJmsMessage |
|---|
StompJmsMessage.JmsMsgType |
| Field Summary | |
|---|---|
protected java.lang.String |
text
|
| Fields inherited from class org.fusesource.stompjms.message.StompJmsMessage |
|---|
acknowledgeCallback, frame, properties, readOnlyBody, readOnlyProperties, redeliveryCounter, transactionId |
| Fields inherited from interface javax.jms.Message |
|---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Constructor Summary | |
|---|---|
StompJmsTextMessage()
|
|
| Method Summary | |
|---|---|
void |
clearBody()
Clears out the message body. |
StompJmsMessage |
copy()
|
StompJmsMessage.JmsMsgType |
getMsgType()
|
java.lang.String |
getText()
|
void |
setText(java.lang.String text)
|
void |
storeContent()
serialize the payload |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.jms.Message |
|---|
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 |
| Field Detail |
|---|
protected java.lang.String text
| Constructor Detail |
|---|
public StompJmsTextMessage()
| Method Detail |
|---|
public StompJmsMessage.JmsMsgType getMsgType()
getMsgType in class StompJmsMessage
public StompJmsMessage copy()
throws javax.jms.JMSException
copy in class StompJmsMessagejavax.jms.JMSException
public void setText(java.lang.String text)
throws javax.jms.MessageNotWriteableException
setText in interface javax.jms.TextMessagejavax.jms.MessageNotWriteableException
public java.lang.String getText()
throws javax.jms.JMSException
getText in interface javax.jms.TextMessagejavax.jms.JMSException
public void storeContent()
throws javax.jms.JMSException
StompJmsMessage
storeContent in class StompJmsMessagejavax.jms.JMSException
public void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class StompJmsMessagejavax.jms.JMSException - if the JMS provider fails to clear the message body
due to some internal error.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||