Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05

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

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.5)

Part Number E13941-05