|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A JMQSOAPMessage
object is used to send a message
containing a javax.xml.soap.SOAPMessage
. This makes
it easy to integrate JAXM applications with JMS applications.
When a consumer receives a JMQSOAPMessage
, it is in
read-only mode. If a consumer attempts to write to the message at this
point, a MessageNotWriteableException
is thrown. If
clearBody
is called, the message can now be both read
from and written to.
SOAPMessage
,
Message
,
JMQSession
Field Summary |
Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Method Summary | |
javax.xml.soap.SOAPMessage |
getMessage()
Gets the SOAP message contained in this message's data. |
void |
setMessage(javax.xml.soap.SOAPMessage message)
Sets message as this message's data. |
Method Detail |
public void setMessage(javax.xml.soap.SOAPMessage message) throws JMSException
message
as this message's data. If a message was
previously set as the message's data, it will be replaced by the
message
.
message
- the SOAPMessage
containing the message's
data
JMSException
- if the JMS provider fails to set the text due
to some internal error.
MessageNotWriteableException
- if the message is in read-only
mode.public javax.xml.soap.SOAPMessage getMessage() throws JMSException
SOAPMessage
containing the message's data
JMSException
- if the JMS provider fails to get the text due
to some internal error.
|
Novell exteNd Messaging Platform 5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |