|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.JBMMessage
org.jboss.messaging.ra.JBMTextMessage
public class JBMTextMessage
A wrapper for a message
Field Summary |
---|
Fields inherited from class org.jboss.messaging.ra.JBMMessage |
---|
message, session |
Fields inherited from interface javax.jms.Message |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
---|---|
JBMTextMessage(javax.jms.TextMessage message,
JBMSession session)
Create a new wrapper |
Method Summary | |
---|---|
java.lang.String |
getText()
Get text |
void |
setText(java.lang.String string)
Set text |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Message |
---|
acknowledge, clearBody, 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 |
Constructor Detail |
---|
public JBMTextMessage(javax.jms.TextMessage message, JBMSession session)
message
- the messagesession
- the sessionMethod Detail |
---|
public java.lang.String getText() throws javax.jms.JMSException
getText
in interface javax.jms.TextMessage
javax.jms.JMSException
- Thrown if an error occurspublic void setText(java.lang.String string) throws javax.jms.JMSException
setText
in interface javax.jms.TextMessage
string
- The text
javax.jms.JMSException
- Thrown if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |