Author: buildbot
Date: Mon Nov 12 15:21:51 2012
New Revision: 838058

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-cookbook.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-transport-for-cxf.html

Modified: websites/production/camel/content/book-cookbook.html
==============================================================================
--- websites/production/camel/content/book-cookbook.html (original)
+++ websites/production/camel/content/book-cookbook.html Mon Nov 12 15:21:51 
2012
@@ -2857,18 +2857,17 @@ from(<span class="code-quote">"file:data
 
 <h3><a shape="rect" 
name="Bookcookbook-SettinguptheCamelTransportinSpring"></a>Setting up the Camel 
Transport in Spring</h3>
 
-<p>You can use the following snippet in your applicationcontext if you want to 
configure anything special. If you only want to activate the camel transport 
you do not have to do anything in your application context. As soon as you 
include the camel-cxf jar in your app cxf will scan the jar and load a 
CamelTransportFactory for you. </p>
+<p>You can use the following snippet in your applicationcontext if you want to 
configure anything special. If you only want to activate the camel transport 
you do not have to do anything in your application context. As soon as you 
include the camel-cxf jar in your app cxf will scan the jar and load a 
CamelTransportFactory for you.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean class=<span 
class="code-quote">"org.apache.camel.component.cxf.transport.CamelTransportFactory"</span>&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;bean class=<span 
class="code-quote">"org.apache.camel.component.cxf.transport.CamelTransportFactory"</span>&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> 
/&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"camelContext"</span> ref=<span 
class="code-quote">"camelContext"</span> /&gt;</span>
   <span class="code-tag"><span class="code-comment">&lt;!-- checkException new 
added in Camel 2.1 and Camel 1.6.2 --&gt;</span></span>
   &lt;!-- If checkException is true , CamelDestination will check the 
outMessage's
-     exception and set it into camel exchange. You can also override this 
value 
+     exception and set it into camel exchange. You can also override this value
      in CamelDestination's configuration. The default value is false.
-     This option should be set true when you want to leverage the camel's 
error 
+     This option should be set true when you want to leverage the camel's error
      handler to deal with fault message --&gt;
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"checkException"</span> value=<span 
class="code-quote">"true"</span> /&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"transportIds"</span>&gt;</span>
@@ -2884,8 +2883,7 @@ from(<span class="code-quote">"file:data
 
 <p>Camel transport provides a setContext method that you could use to set the 
Camel context into the transport factory. If you want this factory take effect, 
you need to register the factory into the CXF bus. Here is a full example for 
you.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.Bus;
+<pre class="code-java"><span class="code-keyword">import</span> 
org.apache.cxf.Bus;
 <span class="code-keyword">import</span> org.apache.cxf.BusFactory;
 <span class="code-keyword">import</span> 
org.apache.cxf.transport.ConduitInitiatorManager;
 <span class="code-keyword">import</span> 
org.apache.cxf.transport.DestinationFactoryManager;
@@ -2913,8 +2911,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The elements used to configure an Camel transport endpoint are defined in 
the namespace <tt><a shape="rect" 
href="http://cxf.apache.org/transports/camel";>http://cxf.apache.org/transports/camel</a></tt>.
 It is commonly referred to using the prefix <tt>camel</tt>. In order to use 
the Camel transport configuration elements you will need to add the lines shown 
below to the beans element of your endpoint's configuration file. In addition, 
you will need to add the configuration elements' namespace to the 
<tt>xsi:schemaLocation</tt> attribute.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>Adding the Configuration 
Namespace</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;beans ...
+<pre class="code-java">&lt;beans ...
        xmlns:camel="http:<span 
class="code-comment">//cxf.apache.org/transports/camel
 </span>       ...
        xsi:schemaLocation="...
@@ -2926,12 +2923,10 @@ dfm.registerDestinationFactory(CamelTran
 
 <h3><a shape="rect" 
name="Bookcookbook-The%7B%7Bdestination%7D%7Delement"></a>The 
<tt>destination</tt> element</h3>
 
-<p>You configure an Camel transport server endpoint using the 
<tt>camel:destination</tt> element and its children. The 
<tt>camel:destination</tt> element takes a single attribute, <tt>name</tt>, the 
specifies the WSDL port element that corresponds to the endpoint. The value for 
the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-destination</tt>. The example below shows the 
<tt>camel:destination</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
+<p>You configure an Camel transport server endpoint using the 
<tt>camel:destination</tt> element and its children. The 
<tt>camel:destination</tt> element takes a single attribute, <tt>name</tt>, 
that specifies the WSDL port element that corresponds to the endpoint. The 
value for the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-destination</tt>. The example below shows the 
<tt>camel:destination</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>camel:destination 
Element</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-
-...
+<pre class="code-java">...
   &lt;camel:destination name="{http:<span 
class="code-comment">//widgets/widgetvendor.net}widgetSOAPPort.http-destination&gt;
 </span>    &lt;camelContext id=<span class="code-quote">"context"</span> 
xmlns=<span class="code-quote">"http:<span 
class="code-comment">//activemq.apache.org/camel/schema/spring"</span>&gt;
 </span>         &lt;route&gt;
@@ -2947,7 +2942,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The <tt>camel:destination</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Element</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel-spring:camelContext</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">You can specify the camel context in the camel 
destination</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel:camelContextRef</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">The camel context id which you want inject 
into the camel destination</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Element </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel-spring:camelContext</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> You can specify the camel context in the 
camel destination </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel:camelContextRef</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The camel context id which you want inject 
into the camel destination </td></tr></tbody></table>
 </div>
 
 
@@ -2956,8 +2951,7 @@ dfm.registerDestinationFactory(CamelTran
 
 <p>You configure an Camel transport client using the <tt>camel:conduit</tt> 
element and its children. The <tt>camel:conduit</tt> element takes a single 
attribute, <tt>name</tt>, that specifies the WSDL port element that corresponds 
to the endpoint. The value for the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-conduit</tt>. For example, the code below shows 
the <tt>camel:conduit</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>http-conf:conduit 
Element</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-...
+<pre class="code-xml">...
   <span class="code-tag">&lt;camelContext id=<span 
class="code-quote">"conduit_context"</span> xmlns=<span 
class="code-quote">"http://activemq.apache.org/camel/schema/spring";</span>&gt;</span>
        <span class="code-tag">&lt;route&gt;</span>
            <span class="code-tag">&lt;from uri=<span 
class="code-quote">"direct:EndpointA"</span> /&gt;</span>
@@ -2980,7 +2974,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The <tt>camel:conduit</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Element</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel-spring:camelContext</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">You can specify the camel context in the camel 
conduit</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel:camelContextRef</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">The camel context id which you want inject 
into the camel conduit</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Element </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel-spring:camelContext</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> You can specify the camel context in the 
camel conduit </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>camel:camelContextRef</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The camel context id which you want inject into the camel 
conduit </td></tr></tbody></table>
 </div>
 
 

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 Mon Nov 12 15:21:51 
2012
@@ -4042,18 +4042,17 @@ from(<span class="code-quote">"file:data
 
 <h3><a shape="rect" 
name="BookInOnePage-SettinguptheCamelTransportinSpring"></a>Setting up the 
Camel Transport in Spring</h3>
 
-<p>You can use the following snippet in your applicationcontext if you want to 
configure anything special. If you only want to activate the camel transport 
you do not have to do anything in your application context. As soon as you 
include the camel-cxf jar in your app cxf will scan the jar and load a 
CamelTransportFactory for you. </p>
+<p>You can use the following snippet in your applicationcontext if you want to 
configure anything special. If you only want to activate the camel transport 
you do not have to do anything in your application context. As soon as you 
include the camel-cxf jar in your app cxf will scan the jar and load a 
CamelTransportFactory for you.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean class=<span 
class="code-quote">"org.apache.camel.component.cxf.transport.CamelTransportFactory"</span>&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;bean class=<span 
class="code-quote">"org.apache.camel.component.cxf.transport.CamelTransportFactory"</span>&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> 
/&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"camelContext"</span> ref=<span 
class="code-quote">"camelContext"</span> /&gt;</span>
   <span class="code-tag"><span class="code-comment">&lt;!-- checkException new 
added in Camel 2.1 and Camel 1.6.2 --&gt;</span></span>
   &lt;!-- If checkException is true , CamelDestination will check the 
outMessage's
-     exception and set it into camel exchange. You can also override this 
value 
+     exception and set it into camel exchange. You can also override this value
      in CamelDestination's configuration. The default value is false.
-     This option should be set true when you want to leverage the camel's 
error 
+     This option should be set true when you want to leverage the camel's error
      handler to deal with fault message --&gt;
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"checkException"</span> value=<span 
class="code-quote">"true"</span> /&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"transportIds"</span>&gt;</span>
@@ -4069,8 +4068,7 @@ from(<span class="code-quote">"file:data
 
 <p>Camel transport provides a setContext method that you could use to set the 
Camel context into the transport factory. If you want this factory take effect, 
you need to register the factory into the CXF bus. Here is a full example for 
you.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.Bus;
+<pre class="code-java"><span class="code-keyword">import</span> 
org.apache.cxf.Bus;
 <span class="code-keyword">import</span> org.apache.cxf.BusFactory;
 <span class="code-keyword">import</span> 
org.apache.cxf.transport.ConduitInitiatorManager;
 <span class="code-keyword">import</span> 
org.apache.cxf.transport.DestinationFactoryManager;
@@ -4098,8 +4096,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The elements used to configure an Camel transport endpoint are defined in 
the namespace <tt><a shape="rect" 
href="http://cxf.apache.org/transports/camel";>http://cxf.apache.org/transports/camel</a></tt>.
 It is commonly referred to using the prefix <tt>camel</tt>. In order to use 
the Camel transport configuration elements you will need to add the lines shown 
below to the beans element of your endpoint's configuration file. In addition, 
you will need to add the configuration elements' namespace to the 
<tt>xsi:schemaLocation</tt> attribute.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>Adding the Configuration 
Namespace</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;beans ...
+<pre class="code-java">&lt;beans ...
        xmlns:camel="http:<span 
class="code-comment">//cxf.apache.org/transports/camel
 </span>       ...
        xsi:schemaLocation="...
@@ -4111,12 +4108,10 @@ dfm.registerDestinationFactory(CamelTran
 
 <h3><a shape="rect" 
name="BookInOnePage-The%7B%7Bdestination%7D%7Delement"></a>The 
<tt>destination</tt> element</h3>
 
-<p>You configure an Camel transport server endpoint using the 
<tt>camel:destination</tt> element and its children. The 
<tt>camel:destination</tt> element takes a single attribute, <tt>name</tt>, the 
specifies the WSDL port element that corresponds to the endpoint. The value for 
the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-destination</tt>. The example below shows the 
<tt>camel:destination</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
+<p>You configure an Camel transport server endpoint using the 
<tt>camel:destination</tt> element and its children. The 
<tt>camel:destination</tt> element takes a single attribute, <tt>name</tt>, 
that specifies the WSDL port element that corresponds to the endpoint. The 
value for the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-destination</tt>. The example below shows the 
<tt>camel:destination</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>camel:destination 
Element</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-
-...
+<pre class="code-java">...
   &lt;camel:destination name="{http:<span 
class="code-comment">//widgets/widgetvendor.net}widgetSOAPPort.http-destination&gt;
 </span>    &lt;camelContext id=<span class="code-quote">"context"</span> 
xmlns=<span class="code-quote">"http:<span 
class="code-comment">//activemq.apache.org/camel/schema/spring"</span>&gt;
 </span>         &lt;route&gt;
@@ -4132,7 +4127,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The <tt>camel:destination</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Element</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel-spring:camelContext</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">You can specify the camel context in the camel 
destination</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel:camelContextRef</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">The camel context id which you want inject 
into the camel destination</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Element </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel-spring:camelContext</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> You can specify the camel context in the 
camel destination </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel:camelContextRef</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The camel context id which you want inject 
into the camel destination </td></tr></tbody></table>
 </div>
 
 
@@ -4141,8 +4136,7 @@ dfm.registerDestinationFactory(CamelTran
 
 <p>You configure an Camel transport client using the <tt>camel:conduit</tt> 
element and its children. The <tt>camel:conduit</tt> element takes a single 
attribute, <tt>name</tt>, that specifies the WSDL port element that corresponds 
to the endpoint. The value for the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-conduit</tt>. For example, the code below shows 
the <tt>camel:conduit</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>http-conf:conduit 
Element</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-...
+<pre class="code-xml">...
   <span class="code-tag">&lt;camelContext id=<span 
class="code-quote">"conduit_context"</span> xmlns=<span 
class="code-quote">"http://activemq.apache.org/camel/schema/spring";</span>&gt;</span>
        <span class="code-tag">&lt;route&gt;</span>
            <span class="code-tag">&lt;from uri=<span 
class="code-quote">"direct:EndpointA"</span> /&gt;</span>
@@ -4165,7 +4159,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The <tt>camel:conduit</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Element</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel-spring:camelContext</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">You can specify the camel context in the camel 
conduit</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel:camelContextRef</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">The camel context id which you want inject 
into the camel conduit</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Element </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel-spring:camelContext</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> You can specify the camel context in the 
camel conduit </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>camel:camelContextRef</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The camel context id which you want inject into the camel 
conduit </td></tr></tbody></table>
 </div>
 
 

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/camel-transport-for-cxf.html
==============================================================================
--- websites/production/camel/content/camel-transport-for-cxf.html (original)
+++ websites/production/camel/content/camel-transport-for-cxf.html Mon Nov 12 
15:21:51 2012
@@ -88,18 +88,17 @@
 
 <h3><a shape="rect" 
name="CamelTransportforCXF-SettinguptheCamelTransportinSpring"></a>Setting up 
the Camel Transport in Spring</h3>
 
-<p>You can use the following snippet in your applicationcontext if you want to 
configure anything special. If you only want to activate the camel transport 
you do not have to do anything in your application context. As soon as you 
include the camel-cxf jar in your app cxf will scan the jar and load a 
CamelTransportFactory for you. </p>
+<p>You can use the following snippet in your applicationcontext if you want to 
configure anything special. If you only want to activate the camel transport 
you do not have to do anything in your application context. As soon as you 
include the camel-cxf jar in your app cxf will scan the jar and load a 
CamelTransportFactory for you.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean class=<span 
class="code-quote">"org.apache.camel.component.cxf.transport.CamelTransportFactory"</span>&gt;</span>
+<pre class="code-xml"><span class="code-tag">&lt;bean class=<span 
class="code-quote">"org.apache.camel.component.cxf.transport.CamelTransportFactory"</span>&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"bus"</span> ref=<span class="code-quote">"cxf"</span> 
/&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"camelContext"</span> ref=<span 
class="code-quote">"camelContext"</span> /&gt;</span>
   <span class="code-tag"><span class="code-comment">&lt;!-- checkException new 
added in Camel 2.1 and Camel 1.6.2 --&gt;</span></span>
   &lt;!-- If checkException is true , CamelDestination will check the 
outMessage's
-     exception and set it into camel exchange. You can also override this 
value 
+     exception and set it into camel exchange. You can also override this value
      in CamelDestination's configuration. The default value is false.
-     This option should be set true when you want to leverage the camel's 
error 
+     This option should be set true when you want to leverage the camel's error
      handler to deal with fault message --&gt;
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"checkException"</span> value=<span 
class="code-quote">"true"</span> /&gt;</span>
   <span class="code-tag">&lt;property name=<span 
class="code-quote">"transportIds"</span>&gt;</span>
@@ -115,8 +114,7 @@
 
 <p>Camel transport provides a setContext method that you could use to set the 
Camel context into the transport factory. If you want this factory take effect, 
you need to register the factory into the CXF bus. Here is a full example for 
you.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.Bus;
+<pre class="code-java"><span class="code-keyword">import</span> 
org.apache.cxf.Bus;
 <span class="code-keyword">import</span> org.apache.cxf.BusFactory;
 <span class="code-keyword">import</span> 
org.apache.cxf.transport.ConduitInitiatorManager;
 <span class="code-keyword">import</span> 
org.apache.cxf.transport.DestinationFactoryManager;
@@ -144,8 +142,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The elements used to configure an Camel transport endpoint are defined in 
the namespace <tt><a shape="rect" 
href="http://cxf.apache.org/transports/camel";>http://cxf.apache.org/transports/camel</a></tt>.
 It is commonly referred to using the prefix <tt>camel</tt>. In order to use 
the Camel transport configuration elements you will need to add the lines shown 
below to the beans element of your endpoint's configuration file. In addition, 
you will need to add the configuration elements' namespace to the 
<tt>xsi:schemaLocation</tt> attribute.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>Adding the Configuration 
Namespace</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;beans ...
+<pre class="code-java">&lt;beans ...
        xmlns:camel="http:<span 
class="code-comment">//cxf.apache.org/transports/camel
 </span>       ...
        xsi:schemaLocation="...
@@ -157,12 +154,10 @@ dfm.registerDestinationFactory(CamelTran
 
 <h3><a shape="rect" 
name="CamelTransportforCXF-The%7B%7Bdestination%7D%7Delement"></a>The 
<tt>destination</tt> element</h3>
 
-<p>You configure an Camel transport server endpoint using the 
<tt>camel:destination</tt> element and its children. The 
<tt>camel:destination</tt> element takes a single attribute, <tt>name</tt>, the 
specifies the WSDL port element that corresponds to the endpoint. The value for 
the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-destination</tt>. The example below shows the 
<tt>camel:destination</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
+<p>You configure an Camel transport server endpoint using the 
<tt>camel:destination</tt> element and its children. The 
<tt>camel:destination</tt> element takes a single attribute, <tt>name</tt>, 
that specifies the WSDL port element that corresponds to the endpoint. The 
value for the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-destination</tt>. The example below shows the 
<tt>camel:destination</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>camel:destination 
Element</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-
-...
+<pre class="code-java">...
   &lt;camel:destination name="{http:<span 
class="code-comment">//widgets/widgetvendor.net}widgetSOAPPort.http-destination&gt;
 </span>    &lt;camelContext id=<span class="code-quote">"context"</span> 
xmlns=<span class="code-quote">"http:<span 
class="code-comment">//activemq.apache.org/camel/schema/spring"</span>&gt;
 </span>         &lt;route&gt;
@@ -178,7 +173,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The <tt>camel:destination</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Element</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel-spring:camelContext</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">You can specify the camel context in the camel 
destination</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel:camelContextRef</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">The camel context id which you want inject 
into the camel destination</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Element </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel-spring:camelContext</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> You can specify the camel context in the 
camel destination </td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel:camelContextRef</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> The camel context id which you want inject 
into the camel destination </td></tr></tbody></table>
 </div>
 
 
@@ -187,8 +182,7 @@ dfm.registerDestinationFactory(CamelTran
 
 <p>You configure an Camel transport client using the <tt>camel:conduit</tt> 
element and its children. The <tt>camel:conduit</tt> element takes a single 
attribute, <tt>name</tt>, that specifies the WSDL port element that corresponds 
to the endpoint. The value for the <tt>name</tt> attribute takes the form 
<em>portQName</em><tt>.camel-conduit</tt>. For example, the code below shows 
the <tt>camel:conduit</tt> element that would be used to add configuration for 
an endpoint that was specified by the WSDL fragment <tt>&lt;port 
binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's 
target namespace was <tt><a shape="rect" class="external-link" 
href="http://widgets.widgetvendor.net"; 
rel="nofollow">http://widgets.widgetvendor.net</a></tt>.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>http-conf:conduit 
Element</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-...
+<pre class="code-xml">...
   <span class="code-tag">&lt;camelContext id=<span 
class="code-quote">"conduit_context"</span> xmlns=<span 
class="code-quote">"http://activemq.apache.org/camel/schema/spring";</span>&gt;</span>
        <span class="code-tag">&lt;route&gt;</span>
            <span class="code-tag">&lt;from uri=<span 
class="code-quote">"direct:EndpointA"</span> /&gt;</span>
@@ -211,7 +205,7 @@ dfm.registerDestinationFactory(CamelTran
 <p>The <tt>camel:conduit</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
 
 <div class="table-wrap">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh">Element</th><th colspan="1" rowspan="1" 
class="confluenceTh">Description</th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel-spring:camelContext</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">You can specify the camel context in the camel 
conduit</td></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"><tt>camel:camelContextRef</tt></td><td colspan="1" 
rowspan="1" class="confluenceTd">The camel context id which you want inject 
into the camel conduit</td></tr></tbody></table>
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" 
class="confluenceTh"> Element </th><th colspan="1" rowspan="1" 
class="confluenceTh"> Description </th></tr><tr><td colspan="1" rowspan="1" 
class="confluenceTd"> <tt>camel-spring:camelContext</tt> </td><td colspan="1" 
rowspan="1" class="confluenceTd"> You can specify the camel context in the 
camel conduit </td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"> 
<tt>camel:camelContextRef</tt> </td><td colspan="1" rowspan="1" 
class="confluenceTd"> The camel context id which you want inject into the camel 
conduit </td></tr></tbody></table>
 </div>
 
 


Reply via email to