AQjmsTextMessage - Oracle 9i

Syntax

All Implemented Interfaces

javax.jms.Message, javax.jms.TextMessage

Description

This class implements the TextMessage interface. A TextMessage is used to send a message containing a java.lang.StringBuffer

All Implemented Interfaces

Inherited Member Summary

Fields inherited from interface javax.jms.Message

DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE

Methods inherited from class AQjmsMessage

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait

Methods inherited from interface javax.jms.Message

Methods
clearBody()

public void clearBody()

Specified By

javax.jms.Message.clearBody() in interface javax.jms.Message

Overrides

clearBody() in class AQjmsMessage

clearProperties()

public void clearProperties()
Clear a message's properties.

Specified By

javax.jms.Message.clearProperties() in interface javax.jms.Message

Overrides

clearProperties() in class AQjmsMessage

Throws

JMSException - if JMS fails to clear JMS message properties due to some internal JMS error.

getText()

public java.lang.String getText()

Get the string containing this message's data. The default value is null.

Specified By

javax.jms.TextMessage.getText() in interface javax.jms.TextMessage

Returns

the String containing the message's data

Throws

JMSException - if JMS fails to get text due to some internal JMS error.

setText(String)

public void setText(java.lang.String string)

Set the string containing this message's data.

Specified By

javax.jms.TextMessage.setText(java.lang.String) in interface javax.jms.TextMessage

Parameters

string - the String containing the message's data

Throws

JMSException - if JMS fails to set text due to some internal JMS error.
MessageNotWriteableException - if message in read-only mode.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics