Author: buildbot
Date: Mon Jan 14 09:23:30 2013
New Revision: 846598

Log:
Production update by buildbot for camel

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

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 Jan 14 09:23:30 
2013
@@ -3970,10 +3970,11 @@ 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-transport jar (or camel-cxf.jar if your camel version is 
less than 2.7.x) 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"><span class="code-comment">&lt;!-- you don't need to 
specify the CamelTransportFactory configuration as it is auto load by CXF bus 
--&gt;</span></span>
 <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>
@@ -4024,7 +4025,7 @@ dfm.registerDestinationFactory(CamelTran
 </pre>
 </div></div>
 
-<h2><a shape="rect" 
name="BookInOnePage-Configurethedestinationandconduit"></a>Configure the 
destination and conduit</h2>
+<h2><a shape="rect" 
name="BookInOnePage-ConfigurethedestinationandconduitwithSpring"></a>Configure 
the destination and conduit with Spring</h2>
 
 <h3><a shape="rect" name="BookInOnePage-Namespace"></a>Namespace</h3>
 
@@ -4058,11 +4059,15 @@ dfm.registerDestinationFactory(CamelTran
          &lt;/route&gt;
      &lt;/camelContext&gt;
   &lt;/camel:destination&gt;
+
+  &lt;!-- <span class="code-keyword">new</span> added feature since Camel 
2.11.x
+  &lt;camel:destination name=<span class="code-quote">"{http:<span 
class="code-comment">//widgets/widgetvendor.net}widgetSOAPPort.camel-destination"</span>
 camelContextId=<span class="code-quote">"context"</span> /&gt;  
+</span>
 ...
 </pre>
 </div></div>
 
-<p>The <tt>camel:destination</tt> element has a number of child elements that 
specify configuration information. They are described below.</p>
+<p>The <tt>camel:destination</tt> element for Spring 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>
@@ -4087,6 +4092,10 @@ dfm.registerDestinationFactory(CamelTran
      <span 
class="code-tag">&lt;camel:camelContextRef&gt;</span>conduit_context<span 
class="code-tag">&lt;/camel:camelContextRef&gt;</span>
   <span class="code-tag">&lt;/camel:conduit&gt;</span>
 
+  &lt;!-- new added feature since Camel 2.11.x
+  <span class="code-tag">&lt;camel:conduit name=<span 
class="code-quote">"{http://widgets/widgetvendor.net}widgetSOAPPort.camel-conduit";</span>
 camelContextId=<span class="code-quote">"conduit_context"</span> /&gt;</span>
+     
+
   <span class="code-tag">&lt;camel:conduit name=<span 
class="code-quote">"*.camel-conduit"</span>&gt;</span>
   <span class="code-tag"><span class="code-comment">&lt;!-- you can also using 
the wild card to specify the camel-conduit that you want to configure 
--&gt;</span></span>
     ...
@@ -4102,6 +4111,30 @@ dfm.registerDestinationFactory(CamelTran
 </div>
 
 
+<h2><a shape="rect" 
name="BookInOnePage-ConfigurethedestinationandconduitwithBlueprint"></a>Configure
 the destination and conduit with Blueprint</h2>
+
+<p>From <b>Camel 2.11.x</b>, Camel Transport supports to be configured with 
Blueprint</p>
+
+<p>If you are using blueprint, you should use the the namespace <tt><a 
shape="rect" 
href="http://cxf.apache.org/transports/camel/blueprint";>http://cxf.apache.org/transports/camel/blueprint</a></tt>
 and import the schema like the blow.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeHeader 
panelHeader" style="border-bottom-width: 1px;"><b>Adding the Configuration 
Namespace for blueprint</b></div><div class="codeContent panelContent">
+<pre class="code-java">
+&lt;beans ...
+       xmlns:camel=<span class="code-quote">"http:<span 
class="code-comment">//cxf.apache.org/transports/camel/blueprint"</span>
+</span>       ...
+       xsi:schemaLocation="...
+                           http:<span 
class="code-comment">//cxf.apache.org/transports/camel/blueprint 
+</span>                           http:<span 
class="code-comment">//cxf.apache.org/schmemas/blueprint/camel.xsd
+</span>                          ...&gt;
+</pre>
+</div></div>
+
+<p>In blueprint <tt>camel:conduit</tt> <tt>camel:destination</tt> only has one 
camelContextId attribute, they doesn't support to specify the camel context in 
the camel destination.</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent 
panelContent">
+<pre class="code-java">
+  &lt;camel:conduit id=<span class="code-quote">"*.camel-conduit"</span> 
camelContextId=<span class="code-quote">"camel1"</span> /&gt;
+  &lt;camel:destination id=<span 
class="code-quote">"*.camel-destination"</span> camelContextId=<span 
class="code-quote">"camel1"</span> /&gt;
+</pre>
+</div></div>
 
 <h2><a shape="rect" 
name="BookInOnePage-ExampleUsingCamelasaloadbalancerforCXF"></a>Example Using 
Camel as a load balancer for CXF</h2>
 

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


Reply via email to