|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jms.AQjmsMessage
oracle.jms.AQjmsTextMessage
This is an Oracle class which implements javax.jms.TextMessage.
| Field Summary |
| Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Method Summary | |
void |
clearBody()Clears out the message body. |
void |
clearProperties()Clears a message's properties. |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void clearProperties()
throws JMSException
clearProperties in interface MessageclearProperties in class AQjmsMessageJMSException - if the message properties are not cleared due to some error.
public void setText(java.lang.String string)
throws JMSException
setText in interface TextMessagestring - the String to use as this message's payload (may be null)JMSException - if the string is not set due to some error.MessageNotWriteableException - if the message is in read-only mode.
public java.lang.String getText()
throws JMSException
null.getText in interface TextMessageString containing this message's dataJMSException - if the string is not retrieved due to some error.
public void clearBody()
throws JMSException
clearBody in interface MessageclearBody in class AQjmsMessageJMSException - if the message body is not cleared due to some error.
|
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) B14291-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||