Author: buildbot Date: Sat Feb 8 05:31:17 2014 New Revision: 896846 Log: Production update by buildbot for camel
Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/cxf.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/cxf.html ============================================================================== --- websites/production/camel/content/cxf.html (original) +++ websites/production/camel/content/cxf.html Sat Feb 8 05:31:17 2014 @@ -99,11 +99,11 @@ </div> </div> <p>The <strong>cxf:</strong> component provides integration with <a shape="rect" href="http://cxf.apache.org">Apache CXF</a> for connecting to JAX-WS services hosted in CXF.</p><p><style type="text/css">/*<![CDATA[*/ -div.rbtoc1390365126622 {padding: 0px;} -div.rbtoc1390365126622 ul {list-style: disc;margin-left: 0px;} -div.rbtoc1390365126622 li {margin-left: 0px;padding-left: 0px;} +div.rbtoc1391837233754 {padding: 0px;} +div.rbtoc1391837233754 ul {list-style: disc;margin-left: 0px;} +div.rbtoc1391837233754 li {margin-left: 0px;padding-left: 0px;} -/*]]>*/</style></p><div class="toc-macro rbtoc1390365126622"> +/*]]>*/</style></p><div class="toc-macro rbtoc1391837233754"> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-CXFComponent">CXF Component</a> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-URIformat">URI format</a></li><li><a shape="rect" href="#CXF-Options">Options</a> <ul class="toc-indentation"><li><a shape="rect" href="#CXF-Thedescriptionsofthedataformats">The descriptions of the dataformats</a> @@ -593,7 +593,7 @@ from("direct:start").onExcepti assertEquals("Get the wrong wsdl opertion name", "{http://apache.org/hello_world_soap_http}greetMe", responseContext.get("javax.xml.ws.wsdl.operation").toString()); ]]></script> -</div></div><h3 id="CXF-AttachmentSupport">Attachment Support</h3><p><strong>POJO Mode:</strong> Both SOAP with Attachment and MTOM are supported (see example in Payload Mode for enabling MTOM).  However, SOAP with Attachment is not tested.  Since attachments are marshalled and unmarshalled into POJOs, users typically do not need to deal with the attachment themself.  Attachments are propagated to Camel message's attachments since 2.1.  So, it is possible to retreive attachments by Camel Message API</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> +</div></div><h3 id="CXF-AttachmentSupport">Attachment Support</h3><p><strong>POJO Mode:</strong> Both SOAP with Attachment and MTOM are supported (see example in Payload Mode for enabling MTOM).  However, SOAP with Attachment is not tested.  Since attachments are marshalled and unmarshalled into POJOs, users typically do not need to deal with the attachment themself.  Attachments are propagated to Camel message's attachments if the MTOM is not enabled, since 2.12.3.  So, it is possible to retreive attachments by Camel Message API</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[DataHandler Message.getAttachment(String id)]]></script> </div></div><p>.</p><p><strong>Payload Mode:</strong> MTOM is supported since 2.1. Attachments can be retrieved by Camel Message APIs mentioned above. SOAP with Attachment (SwA) is supported and attachments can be retrieved since 2.5. SwA is the default (same as setting the CXF endpoint property "mtom-enabled" to false). </p><p>To enable MTOM, set the CXF endpoint property "mtom-enabled" to <em>true</em>. (I believe you can only do it with Spring.)</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl"> <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[