|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resource.adapter.jms.JmsMessage (src)
org.jboss.resource.adapter.jms.JmsTextMessage
A wrapper for a message
Field Summary |
Fields inherited from interface javax.jms.Message (src) |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
JmsTextMessage(TextMessage (src) message,
JmsSession (src) session)
Create a new wrapper |
Method Summary | |
java.lang.String |
getText()
Gets the string containing this message's data. |
void |
setText(java.lang.String string)
Sets the string containing this message's data. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JmsTextMessage(TextMessage (src) message, JmsSession (src) session)
message
- the messagesession
- the sessionMethod Detail |
public java.lang.String getText() throws JMSException (src)
TextMessage (src)
getText
in interface TextMessage (src)
String
containing the message's data
JMSException (src)
- if the JMS provider fails to get the text due to
some internal error.public void setText(java.lang.String string) throws JMSException (src)
TextMessage (src)
setText
in interface TextMessage (src)
string
- 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 (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |