camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r975692 - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache cxf.html
Date Wed, 16 Dec 2015 15:19:59 GMT
Author: buildbot
Date: Wed Dec 16 15:19:59 2015
New Revision: 975692

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/cxf.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Wed Dec 16 15:19:59 2015
@@ -1110,11 +1110,11 @@ template.send("direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookComponentAppendix-SeeAlso.8">See
Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a
shape="rect" href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting
Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a>
Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul>
<h2 id="BookComponentAppendix-CXFComponent">CXF Component</h2><div class="confluence-information-macro
confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When
using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean
Component</a> allows you to factor out how message payloads are received from their
processing as a RESTful or SOAP web service. This has the potential of using a multitude of
transports to cons
 ume web services. The bean component's configuration is also simpler and provides the fastest
method to implement web services using Camel and CXF.</p></div></div><div
class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon
aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>When using CXF in streaming modes (see
DataFormat option), then also read about <a shape="rect" href="stream-caching.html">Stream
caching</a>.</p></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.rbtoc1450275526855 {padding: 0px;}
-div.rbtoc1450275526855 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1450275526855 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1450279057567 {padding: 0px;}
+div.rbtoc1450279057567 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1450279057567 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1450275526855">
+/*]]>*/</style></p><div class="toc-macro rbtoc1450279057567">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-CXFComponent">CXF
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-URIformat">URI
format</a></li><li><a shape="rect" href="#BookComponentAppendix-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookComponentAppendix-Thedescriptionsofthedataformats">The
descriptions of the dataformats</a>
@@ -1224,7 +1224,7 @@ div.rbtoc1450275526855 li {margin-left:
     &lt;/camelContext&gt;
   &lt;/beans&gt;
 ]]></script>
-</div></div><p>Be sure to include the JAX-WS <code>schemaLocation</code>
attribute specified on the root beans element. This allows CXF to validate the file and is
required. Also note the namespace declarations at the end of the <code>&lt;cxf:cxfEndpoint/&gt;</code>
tag--these are required because the combined {<code>namespace}localName</code>
syntax is presently not supported for this tag's attribute values.</p><p>The <code>cxf:cxfEndpoint</code>
element supports many additional attributes:</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>PortName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The endpoint name this service is
implementing, it maps to the <code>wsdl:port@name</code>. In the format of <code>ns:PORT_NAME</code>
where <code>ns</code> 
 is a namespace prefix valid at this scope.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>serviceName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The service name this service is
implementing, it maps to the <code>wsdl:service@name</code>. In the format of
<code>ns:SERVICE_NAME</code> where <code>ns</code> is a namespace
prefix valid at this scope.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>wsdlURL</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The location of the WSDL. Can be
on the classpath, file system, or be hosted remotely.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>bindingId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The <code>bindingId</code>
for the service model to use.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>address</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 >The service publish address.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>bus</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The bus name that will be used in
the JAX-WS endpoint.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>serviceClass</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The class name of the SEI (Service
Endpoint Interface) class which could have JSR181 annotation or not.</p></td></tr></tbody></table></div><p>It
also supports many child elements:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming interceptors for this
endpoint. A list of <code>&lt;bean&gt;</cod
 e> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing interceptors for this
endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:properties</code></p></td><td
colspan="1" rowspan
 ="1" class="confluenceTd"><p>A properties map which should be supplied to the JAX-WS
endpoint. See below.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>cxf:handlers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A JAX-WS handler list which should
be supplied to the JAX-WS endpoint. See below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:dataBinding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the which <code>DataBinding</code>
will be use in the endpoint. This can be supplied using the Spring <code>&lt;bean
class="MyDataBinding"/&gt;</code> syntax.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:binding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the <code>BindingFactory</code>
for this endpoint to use. This can be supplied using the Spring <code>&lt;bean class="MyBindingFactory"/&gt;</code>
syn
 tax.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:features</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The features that hold the interceptors
for this endpoint. A list of {{&lt;bean&gt;}}s or {{&lt;ref&gt;}}s</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:schemaLocations</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The schema locations for endpoint
to use. A list of {{&lt;schemaLocation&gt;}}s</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:serviceFactory</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The service factory for this endpoint
to use. This can be supplied using the Spring <code>&lt;bean class="MyServiceFactory"/&gt;</code>
syntax</p></td></tr></tbody></table></div><div>&#160;</div></li></ul><p>You
can find more advanced examples that show how to provide interceptors, properties and handlers
on the CXF <a shape=
 "rect" class="external-link" href="https://cwiki.apache.org/CXF20DOC/JAX-WS+Configuration">JAX-WS
Configuration page</a>.</p><p><strong>NOTE</strong><br clear="none">
You can use cxf:properties to set the camel-cxf endpoint's dataFormat and setDefaultBus properties
from spring configuration file.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Be sure to include the JAX-WS <code>schemaLocation</code>
attribute specified on the root beans element. This allows CXF to validate the file and is
required. Also note the namespace declarations at the end of the <code>&lt;cxf:cxfEndpoint/&gt;</code>
tag--these are required because the combined {<code>namespace}localName</code>
syntax is presently not supported for this tag's attribute values.</p><p>The <code>cxf:cxfEndpoint</code>
element supports many additional attributes:</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>PortName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The endpoint name this service is
implementing, it maps to the <code>wsdl:port@name</code>. In the format of <code>ns:PORT_NAME</code>
where <code>ns</code> 
 is a namespace prefix valid at this scope.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>serviceName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The service name this service is
implementing, it maps to the <code>wsdl:service@name</code>. In the format of
<code>ns:SERVICE_NAME</code> where <code>ns</code> is a namespace
prefix valid at this scope.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>wsdlURL</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The location of the WSDL. Can be
on the classpath, file system, or be hosted remotely.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>bindingId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The <code>bindingId</code>
for the service model to use.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>address</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 >The service publish address.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>bus</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The bus name that will be used in
the JAX-WS endpoint.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>serviceClass</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The class name of the SEI (Service
Endpoint Interface) class which could have JSR181 annotation or not.</p></td></tr></tbody></table></div><p>It
also supports many child elements:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming interceptors for this
endpoint. A list of <code>&lt;bean&gt;</cod
 e> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing interceptors for this
endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:properties</code></p></td><td
colspan="1" rowspan
 ="1" class="confluenceTd"><p>A properties map which should be supplied to the JAX-WS
endpoint. See below.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>cxf:handlers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A JAX-WS handler list which should
be supplied to the JAX-WS endpoint. See below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:dataBinding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the which <code>DataBinding</code>
will be use in the endpoint. This can be supplied using the Spring <code>&lt;bean
class="MyDataBinding"/&gt;</code> syntax.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:binding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the <code>BindingFactory</code>
for this endpoint to use. This can be supplied using the Spring <code>&lt;bean class="MyBindingFactory"/&gt;</code>
syn
 tax.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:features</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The features that hold the interceptors
for this endpoint. A list of {{&lt;bean&gt;}}s or {{&lt;ref&gt;}}s</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:schemaLocations</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The schema locations for endpoint
to use. A list of {{&lt;schemaLocation&gt;}}s</p></td></tr></tbody></table></div><p>&#160;</p><p>&#160;</p></li></ul><p>You
can find more advanced examples that show how to provide interceptors, properties and handlers
on the CXF <a shape="rect" class="external-link" href="https://cwiki.apache.org/CXF20DOC/JAX-WS+Configuration">JAX-WS
Configuration page</a>.</p><p><strong>NOTE</strong><br clear="none">
You can use cxf:properties to set the camel-cxf endpoint's dataFormat and setDefaultBus properties
from spring configuration fil
 e.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;cxf:cxfEndpoint
id=&quot;testEndpoint&quot; address=&quot;http://localhost:9000/router&quot;
      serviceClass=&quot;org.apache.camel.component.cxf.HelloService&quot;
      endpointName=&quot;s:PortName&quot;

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Wed Dec 16 15:19:59 2015
@@ -3719,11 +3719,11 @@ The tutorial has been designed in two pa
 While not actual tutorials you might find working through the source of the various <a
shape="rect" href="examples.html">Examples</a> useful.</li></ul>
 
 <h2 id="BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial on Spring Remoting
with JMS</h2><p>&#160;</p><div class="confluence-information-macro
confluence-information-macro-information"><p class="title">Thanks</p><span
class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>This tutorial was kindly donated to
Apache Camel by Martin Gilday.</p></div></div><h2 id="BookInOnePage-Preface">Preface</h2><p>This
tutorial aims to guide the reader through the stages of creating a project which uses Camel
to facilitate the routing of messages from a JMS queue to a <a shape="rect" class="external-link"
href="http://www.springramework.org" rel="nofollow">Spring</a> service. The route
works in a synchronous fashion returning a response to the client.</p><p><style
type="text/css">/*<![CDATA[*/
-div.rbtoc1450275594859 {padding: 0px;}
-div.rbtoc1450275594859 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1450275594859 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1450279069688 {padding: 0px;}
+div.rbtoc1450279069688 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1450279069688 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1450275594859">
+/*]]>*/</style></p><div class="toc-macro rbtoc1450279069688">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialonSpringRemotingwithJMS">Tutorial
on Spring Remoting with JMS</a></li><li><a shape="rect" href="#BookInOnePage-Preface">Preface</a></li><li><a
shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a
shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a
shape="rect" href="#BookInOnePage-About">About</a></li><li><a shape="rect"
href="#BookInOnePage-CreatetheCamelProject">Create the Camel Project</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-UpdatethePOMwithDependencies">Update
the POM with Dependencies</a></li></ul>
 </li><li><a shape="rect" href="#BookInOnePage-WritingtheServer">Writing
the Server</a>
@@ -5828,11 +5828,11 @@ So we completed the last piece in the pi
 <p>This example has been removed from <strong>Camel 2.9</strong> onwards.
Apache Axis 1.4 is a very old and unsupported framework. We encourage users to use <a shape="rect"
href="cxf.html">CXF</a> instead of Axis.</p></div></div>
 
 <style type="text/css">/*<![CDATA[*/
-div.rbtoc1450275596054 {padding: 0px;}
-div.rbtoc1450275596054 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1450275596054 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1450279070187 {padding: 0px;}
+div.rbtoc1450279070187 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1450279070187 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1450275596054">
+/*]]>*/</style><div class="toc-macro rbtoc1450279070187">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-TutorialusingAxis1.4withApacheCamel">Tutorial
using Axis 1.4 with Apache Camel</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Prerequisites">Prerequisites</a></li><li><a
shape="rect" href="#BookInOnePage-Distribution">Distribution</a></li><li><a
shape="rect" href="#BookInOnePage-Introduction">Introduction</a></li><li><a
shape="rect" href="#BookInOnePage-SettinguptheprojecttorunAxis">Setting up the project
to run Axis</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Maven2">Maven
2</a></li><li><a shape="rect" href="#BookInOnePage-wsdl">wsdl</a></li><li><a
shape="rect" href="#BookInOnePage-ConfiguringAxis">Configuring Axis</a></li><li><a
shape="rect" href="#BookInOnePage-RunningtheExample">Running the Example</a></li></ul>
@@ -17372,11 +17372,11 @@ template.send(&quot;direct:alias-verify&
 ]]></script>
 </div></div><p></p><h3 id="BookInOnePage-SeeAlso.28">See Also</h3>
 <ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a
shape="rect" href="component.html">Component</a></li><li><a shape="rect"
href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting
Started</a></li></ul><ul><li><a shape="rect" href="crypto.html">Crypto</a>
Crypto is also available as a <a shape="rect" href="data-format.html">Data Format</a></li></ul>
<h2 id="BookInOnePage-CXFComponent">CXF Component</h2><div class="confluence-information-macro
confluence-information-macro-note"><span class="aui-icon aui-icon-small aui-iconfont-warning
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When
using CXF as a consumer, the <a shape="rect" href="cxf-bean-component.html">CXF Bean
Component</a> allows you to factor out how message payloads are received from their
processing as a RESTful or SOAP web service. This has the potential of using a multitude of
transports to consume web 
 services. The bean component's configuration is also simpler and provides the fastest method
to implement web services using Camel and CXF.</p></div></div><div class="confluence-information-macro
confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>When
using CXF in streaming modes (see DataFormat option), then also read about <a shape="rect"
href="stream-caching.html">Stream caching</a>.</p></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.rbtoc1450275618556 {padding: 0px;}
-div.rbtoc1450275618556 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1450275618556 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1450279113443 {padding: 0px;}
+div.rbtoc1450279113443 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1450279113443 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1450275618556">
+/*]]>*/</style></p><div class="toc-macro rbtoc1450279113443">
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-CXFComponent">CXF
Component</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-URIformat">URI
format</a></li><li><a shape="rect" href="#BookInOnePage-Options">Options</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#BookInOnePage-Thedescriptionsofthedataformats">The
descriptions of the dataformats</a>

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 Wed Dec 16 15:19:59 2015
@@ -186,7 +186,7 @@
     &lt;/camelContext&gt;
   &lt;/beans&gt;
 ]]></script>
-</div></div><p>Be sure to include the JAX-WS <code>schemaLocation</code>
attribute specified on the root beans element. This allows CXF to validate the file and is
required. Also note the namespace declarations at the end of the <code>&lt;cxf:cxfEndpoint/&gt;</code>
tag--these are required because the combined {<code>namespace}localName</code>
syntax is presently not supported for this tag's attribute values.</p><p>The <code>cxf:cxfEndpoint</code>
element supports many additional attributes:</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>PortName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The endpoint name this service is
implementing, it maps to the <code>wsdl:port@name</code>. In the format of <code>ns:PORT_NAME</code>
where <code>ns</code> 
 is a namespace prefix valid at this scope.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>serviceName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The service name this service is
implementing, it maps to the <code>wsdl:service@name</code>. In the format of
<code>ns:SERVICE_NAME</code> where <code>ns</code> is a namespace
prefix valid at this scope.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>wsdlURL</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The location of the WSDL. Can be
on the classpath, file system, or be hosted remotely.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>bindingId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The <code>bindingId</code>
for the service model to use.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>address</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 >The service publish address.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>bus</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The bus name that will be used in
the JAX-WS endpoint.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>serviceClass</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The class name of the SEI (Service
Endpoint Interface) class which could have JSR181 annotation or not.</p></td></tr></tbody></table></div><p>It
also supports many child elements:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming interceptors for this
endpoint. A list of <code>&lt;bean&gt;</cod
 e> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing interceptors for this
endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:properties</code></p></td><td
colspan="1" rowspan
 ="1" class="confluenceTd"><p>A properties map which should be supplied to the JAX-WS
endpoint. See below.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>cxf:handlers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A JAX-WS handler list which should
be supplied to the JAX-WS endpoint. See below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:dataBinding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the which <code>DataBinding</code>
will be use in the endpoint. This can be supplied using the Spring <code>&lt;bean
class="MyDataBinding"/&gt;</code> syntax.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:binding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the <code>BindingFactory</code>
for this endpoint to use. This can be supplied using the Spring <code>&lt;bean class="MyBindingFactory"/&gt;</code>
syn
 tax.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:features</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The features that hold the interceptors
for this endpoint. A list of {{&lt;bean&gt;}}s or {{&lt;ref&gt;}}s</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:schemaLocations</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The schema locations for endpoint
to use. A list of {{&lt;schemaLocation&gt;}}s</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:serviceFactory</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The service factory for this endpoint
to use. This can be supplied using the Spring <code>&lt;bean class="MyServiceFactory"/&gt;</code>
syntax</p></td></tr></tbody></table></div><div>&#160;</div></li></ul><p>You
can find more advanced examples that show how to provide interceptors, properties and handlers
on the CXF <a shape=
 "rect" class="external-link" href="https://cwiki.apache.org/CXF20DOC/JAX-WS+Configuration">JAX-WS
Configuration page</a>.</p><p><strong>NOTE</strong><br clear="none">
You can use cxf:properties to set the camel-cxf endpoint's dataFormat and setDefaultBus properties
from spring configuration file.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
+</div></div><p>Be sure to include the JAX-WS <code>schemaLocation</code>
attribute specified on the root beans element. This allows CXF to validate the file and is
required. Also note the namespace declarations at the end of the <code>&lt;cxf:cxfEndpoint/&gt;</code>
tag--these are required because the combined {<code>namespace}localName</code>
syntax is presently not supported for this tag's attribute values.</p><p>The <code>cxf:cxfEndpoint</code>
element supports many additional attributes:</p><div class="table-wrap"><table
class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>PortName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The endpoint name this service is
implementing, it maps to the <code>wsdl:port@name</code>. In the format of <code>ns:PORT_NAME</code>
where <code>ns</code> 
 is a namespace prefix valid at this scope.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>serviceName</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The service name this service is
implementing, it maps to the <code>wsdl:service@name</code>. In the format of
<code>ns:SERVICE_NAME</code> where <code>ns</code> is a namespace
prefix valid at this scope.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>wsdlURL</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The location of the WSDL. Can be
on the classpath, file system, or be hosted remotely.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>bindingId</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The <code>bindingId</code>
for the service model to use.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>address</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p
 >The service publish address.</p></td></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p><code>bus</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The bus name that will be used in
the JAX-WS endpoint.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>serviceClass</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The class name of the SEI (Service
Endpoint Interface) class which could have JSR181 annotation or not.</p></td></tr></tbody></table></div><p>It
also supports many child elements:</p><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th
colspan="1" rowspan="1" class="confluenceTh"><p>Name</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Value</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming interceptors for this
endpoint. A list of <code>&lt;bean&gt;</cod
 e> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:inFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The incoming fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing interceptors for this
endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:outFaultInterceptors</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The outgoing fault interceptors for
this endpoint. A list of <code>&lt;bean&gt;</code> or <code>&lt;ref&gt;</code>.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:properties</code></p></td><td
colspan="1" rowspan
 ="1" class="confluenceTd"><p>A properties map which should be supplied to the JAX-WS
endpoint. See below.</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>cxf:handlers</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>A JAX-WS handler list which should
be supplied to the JAX-WS endpoint. See below.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:dataBinding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the which <code>DataBinding</code>
will be use in the endpoint. This can be supplied using the Spring <code>&lt;bean
class="MyDataBinding"/&gt;</code> syntax.</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:binding</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the <code>BindingFactory</code>
for this endpoint to use. This can be supplied using the Spring <code>&lt;bean class="MyBindingFactory"/&gt;</code>
syn
 tax.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:features</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The features that hold the interceptors
for this endpoint. A list of {{&lt;bean&gt;}}s or {{&lt;ref&gt;}}s</p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>cxf:schemaLocations</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The schema locations for endpoint
to use. A list of {{&lt;schemaLocation&gt;}}s</p></td></tr></tbody></table></div><p>&#160;</p><p>&#160;</p></li></ul><p>You
can find more advanced examples that show how to provide interceptors, properties and handlers
on the CXF <a shape="rect" class="external-link" href="https://cwiki.apache.org/CXF20DOC/JAX-WS+Configuration">JAX-WS
Configuration page</a>.</p><p><strong>NOTE</strong><br clear="none">
You can use cxf:properties to set the camel-cxf endpoint's dataFormat and setDefaultBus properties
from spring configuration fil
 e.</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent
panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[&lt;cxf:cxfEndpoint
id=&quot;testEndpoint&quot; address=&quot;http://localhost:9000/router&quot;
      serviceClass=&quot;org.apache.camel.component.cxf.HelloService&quot;
      endpointName=&quot;s:PortName&quot;



Mime
View raw message