|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.MessageImpl (src)
org.jboss.jms.TextMessageImpl
Field Summary |
Fields inherited from class org.jboss.jms.MessageImpl (src) |
body, deliveryId, type |
Fields inherited from interface javax.jms.Message (src) |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
TextMessageImpl(java.lang.String text)
|
Method Summary | |
java.lang.String |
getText()
Gets the string containing this message's data. |
void |
setText(java.lang.String text)
Sets the string containing this message's data. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextMessageImpl(java.lang.String text)
Method Detail |
public java.lang.String getText()
TextMessage (src)
getText
in interface TextMessage (src)
String
containing the message's datapublic void setText(java.lang.String text) throws JMSException (src)
TextMessage (src)
setText
in interface TextMessage (src)
text
- the String
containing the message's data
JMSException (src)
- if the JMS provider fails to set the text due to
some internal error.
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |