|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-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
Oracle class implementing 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() Clear a message's properties. |
protected void |
closeContainer() |
protected oracle.sql.ORAData |
getMessageCont() |
java.lang.String |
getText() Get the string containing this message's data. |
protected void |
populateMessageContainer(oracle.jdbc.OracleConnection db_conn, boolean usetemplob) |
void |
setText(java.lang.String string) Set the string containing this message's data. |
protected void |
write_lob(java.sql.Connection db_conn, java.lang.String q_table, byte[] msg_id, boolean gen_pload, boolean is_anydata_dest) |
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 Message
clearProperties
in class AQjmsMessage
JMSException
- if JMS fails to clear JMS message properties due to some internal JMS error.public void setText(java.lang.String string) throws JMSException
setText
in interface TextMessage
string
- the String containing the message's dataJMSException
- if JMS fails to set text due to some internal JMS error.MessageNotWriteableException
- if message in read-only mode.public java.lang.String getText() throws JMSException
getText
in interface TextMessage
JMSException
- if JMS fails to get text due to some internal JMS error.public void clearBody() throws JMSException
Message
If this message body was read-only, calling this method leaves the message body in the same state as an empty body in a newly created message.
clearBody
in interface Message
clearBody
in class AQjmsMessage
JMSException
- if the JMS provider fails to clear the message body due to some internal error.protected oracle.sql.ORAData getMessageCont()
getMessageCont
in class AQjmsMessage
protected void closeContainer()
closeContainer
in class AQjmsMessage
protected void populateMessageContainer(oracle.jdbc.OracleConnection db_conn, boolean usetemplob) throws JMSException, java.sql.SQLException
populateMessageContainer
in class AQjmsMessage
JMSException
java.sql.SQLException
protected void write_lob(java.sql.Connection db_conn, java.lang.String q_table, byte[] msg_id, boolean gen_pload, boolean is_anydata_dest) throws JMSException
write_lob
in class AQjmsMessage
JMSException
|
Oracle® Streams Advanced Queuing Java API Reference Release 1 (10.1) B12023-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |