Oracle

weblogic.jms.extensions
Interface XMLMessage


public interface XMLMessage

An XMLMessage is used to send a message containing XML content.

See Also:
WLSession.createXMLMessage(), WLSession.createXMLMessage(String), WLSession.createXMLMessage(Document), TextMessage

Method Summary
 Document getDocument()
          Return reference to DOM document for this XML message.
 void setDocument(Document document)
          Set the content of the message to the given DOM document.
 

Method Detail

setDocument

void setDocument(Document document)
                 throws JMSException
Set the content of the message to the given DOM document.

Parameters:
document -
Throws:
JMSException - If the document cannot be serialized

getDocument

Document getDocument()
                     throws JMSException
Return reference to DOM document for this XML message.

Throws:
JMSException

Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 2008 Oracle