|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
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
public class 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. |
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 setText(java.lang.String string) throws JMSException
setText
in interface TextMessage
string
- the String
containing the message's dataJMSException
- if the JMS provider fails to set the text due to some internal error.MessageNotWriteableException
- if the message is in read-only mode.public java.lang.String getText() throws JMSException
getText
in interface TextMessage
String
containing the message's dataJMSException
- if the JMS provider fails to get the text due to some internal error.public void clearBody() throws JMSException
clearBody
in interface Message
clearBody
in class AQjmsMessage
JMSException
- if the message body is not cleared due to some error.
|
Oracle® Database Advanced Queuing Java API Reference 12c Release 1 (12.1) E15980-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001, 2013, Oracle and/or its affiliates. All rights reserved.
For authorized use only.
Do not distribute to third parties.