camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r906440 [1/6] - in /websites/production/camel/content: ./ cache/
Date Mon, 21 Apr 2014 19:24:55 GMT
Author: buildbot
Date: Mon Apr 21 19:24:54 2014
New Revision: 906440

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-2140-release.html
    websites/production/camel/content/camel-transport-for-cxf.html
    websites/production/camel/content/cxf-bean-component.html
    websites/production/camel/content/cxf.html
    websites/production/camel/content/cxfrs.html
    websites/production/camel/content/jetty.html
    websites/production/camel/content/jpa.html
    websites/production/camel/content/mongodb.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 Apr 21 19:24:54 2014
@@ -2957,7 +2957,7 @@ from("file:data/in").process(n
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from(&quot;jms:Orders&quot;).to(&quot;jms:Consumer.A&quot;,
&quot;jms:Consumer.B&quot;, ...); ]]></script>
 </div></div></li><li>for consumer A consume from <strong>jms:Consumer.A</strong></li></ul>
 
-<h2 id="Bookcookbook-What'stheCamelTransportforCXF">What's the Camel Transport for
CXF</h2><p>In CXF you offer or consume a webservice by defining it&#180;s
address. The first part of the address specifies the protocol to use. For example address="http://localhost:9000"
in an endpoint configuration means your service will be offered using the http protocol on
port 9000 of localhost. When you integrate Camel Tranport into CXF you get a new transport
"camel". So you can specify address="camel://direct:MyEndpointName" to bind the CXF service
address to a camel direct endpoint.</p><p>Technically speaking Camel transport
for CXF is a component which implements the <a shape="rect" class="external-link" href="http://cwiki.apache.org/CXF20DOC/cxf-architecture.html#CXFArchitecture-Transports">CXF
transport API</a> with the Camel core library. This allows you to easily use camel&#180;s
routing engine and integration patterns support together with your CXF services.</p><h2
id="Bookcookbook-Int
 egrateCamelintoCXFtransportlayer">Integrate Camel into CXF transport layer</h2><p>To
include the Camel Tranport into your CXF bus you use the CamelTransportFactory. You can do
this in Java as well as in Spring.</p><h3 id="Bookcookbook-SettinguptheCamelTransportinSpring">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-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 pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+<h2 id="Bookcookbook-What'stheCamelTransportforCXF">What's the Camel Transport for
CXF</h2><p>In CXF you offer or consume a webservice by defining its address. The
first part of the address specifies the protocol to use. For example address="http://localhost:9000"
in an endpoint configuration means your service will be offered using the http protocol on
port 9000 of localhost. When you integrate Camel Tranport into CXF you get a new transport
"camel". So you can specify address="camel://direct:MyEndpointName" to bind the CXF service
address to a camel direct endpoint.</p><p>Technically speaking Camel transport
for CXF is a component which implements the <a shape="rect" class="external-link" href="http://cwiki.apache.org/CXF20DOC/cxf-architecture.html#CXFArchitecture-Transports">CXF
transport API</a> with the Camel core library. This allows you to easily use Camel's
routing engine and integration patterns support together with your CXF services.</p><h2
id="Bookcookbook-IntegrateCamel
 intoCXFtransportlayer">Integrate Camel into CXF transport layer</h2><p>To
include the Camel Tranport into your CXF bus you use the CamelTransportFactory. You can do
this in Java as well as in Spring.</p><h3 id="Bookcookbook-SettinguptheCamelTransportinSpring">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-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 pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;!--
you don&#39;t need to specify the CamelTransportFactory configuration as it is auto load
by CXF bus --&gt;
 &lt;bean class=&quot;org.apache.camel.component.cxf.transport.CamelTransportFactory&quot;&gt;
   &lt;property name=&quot;bus&quot; ref=&quot;cxf&quot; /&gt;
@@ -3010,7 +3010,7 @@ BusFactory.setDefaultBus(bus);
                            http://cxf.apache.org/transports/camel.xsd
                           ...&gt;
 ]]></script>
-</div></div><h3 id="Bookcookbook-Thedestinationelement">The <code>destination</code>
element</h3><p>You configure an Camel transport server endpoint using the <code>camel:destination</code>
element and its children. The <code>camel:destination</code> element takes a single
attribute, <code>name</code>, the specifies the WSDL port element that corresponds
to the endpoint. The value for the <code>name</code> attribute takes the form
<em>portQName</em><code>.camel-destination</code>. The example below
shows the <code>camel:destination</code> element that would be used to add configuration
for an endpoint that was specified by the WSDL fragment <code>&lt;port binding="widgetSOAPBinding"
name="widgetSOAPPort&gt;</code> if the endpoint's target namespace was <code><a
shape="rect" class="external-link" href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></code>.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
  pdl" style="border-bottom-width: 1px;"><b>camel:destination Element</b></div><div
class="codeContent panelContent pdl">
+</div></div><h3 id="Bookcookbook-Thedestinationelement">The <code>destination</code>
element</h3><p>You configure an Camel transport server endpoint using the <code>camel:destination</code>
element and its children. The <code>camel:destination</code> element takes a single
attribute, <code>name</code>, that specifies the WSDL port element that corresponds
to the endpoint. The value for the <code>name</code> attribute takes the form
<em>portQName</em><code>.camel-destination</code>. The example below
shows the <code>camel:destination</code> element that would be used to add configuration
for an endpoint that was specified by the WSDL fragment <code>&lt;port binding="widgetSOAPBinding"
name="widgetSOAPPort"&gt;</code> if the endpoint's target namespace was <code><a
shape="rect" class="external-link" href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></code>.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHead
 er pdl" style="border-bottom-width: 1px;"><b>camel:destination Element</b></div><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[...
   &lt;camel:destination name=&quot;{http://widgets/widgetvendor.net}widgetSOAPPort.http-destination&gt;
     &lt;camelContext id=&quot;context&quot; xmlns=&quot;http://activemq.apache.org/camel/schema/spring&quot;&gt;
@@ -3026,7 +3026,7 @@ BusFactory.setDefaultBus(bus);
 
 ...
 ]]></script>
-</div></div><p>The <code>camel:destination</code> 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"><p>Element</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>camel-spring:camelContext</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the camel context
in the camel destination</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>camel:camelContextRef</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The camel context id which you want
inject into the camel destination</p></td></tr></tbody></table></div><h3
id="Bookcookbook-Theconduitelement">The <code>conduit</code> element</h3><p>You
configure a Camel transport client using the <code
 >camel:conduit</code> element and its children. The <code>camel:conduit</code>
element takes a single attribute, <code>name</code>, that specifies the WSDL port
element that corresponds to the endpoint. The value for the <code>name</code>
attribute takes the form <em>portQName</em><code>.camel-conduit</code>.
For example, the code below shows the <code>camel:conduit</code> element that
would be used to add configuration for an endpoint that was specified by the WSDL fragment
<code>&lt;port binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</code>
if the endpoint's target namespace was <code><a shape="rect" class="external-link"
href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></code>.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>http-conf:conduit Element</b></div><div
class="codeContent panelContent pdl">
+</div></div><p>The <code>camel:destination</code> 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"><p>Element</p></th><th
colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>camel-spring:camelContext</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the camel context
in the camel destination</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>camel:camelContextRef</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The camel context id which you want
inject into the camel destination</p></td></tr></tbody></table></div><h3
id="Bookcookbook-Theconduitelement">The <code>conduit</code> element</h3><p>You
configure a Camel transport client using the <code
 >camel:conduit</code> element and its children. The <code>camel:conduit</code>
element takes a single attribute, <code>name</code>, that specifies the WSDL port
element that corresponds to the endpoint. The value for the <code>name</code>
attribute takes the form <em>portQName</em><code>.camel-conduit</code>.
For example, the code below shows the <code>camel:conduit</code> element that
would be used to add configuration for an endpoint that was specified by the WSDL fragment
<code>&lt;port binding="widgetSOAPBinding" name="widgetSOAPPort"&gt;</code>
if the endpoint's target namespace was <code><a shape="rect" class="external-link"
href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></code>.</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>http-conf:conduit Element</b></div><div
class="codeContent panelContent pdl">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[...
   &lt;camelContext id=&quot;conduit_context&quot; xmlns=&quot;http://activemq.apache.org/camel/schema/spring&quot;&gt;
        &lt;route&gt;
@@ -3049,7 +3049,7 @@ BusFactory.setDefaultBus(bus);
   &lt;/camel:conduit&gt;
 ...
 ]]></script>
-</div></div><p>The <code>camel:conduit</code> 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"><p>Element</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>camel-spring:camelContext</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the camel context
in the camel conduit</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>camel:camelContextRef</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The camel context id which you want
inject into the camel conduit</p></td></tr></tbody></table></div><h2
id="Bookcookbook-ConfigurethedestinationandconduitwithBlueprint">Configure the destination
and conduit with Blueprint</h2><p>From <strong>Camel 2.11.x</s
 trong>, Camel Transport supports to be configured with Blueprint</p><p>If
you are using blueprint, you should use the the namespace <code><a shape="rect" href="http://cxf.apache.org/transports/camel/blueprint">http://cxf.apache.org/transports/camel/blueprint</a></code>
and import the schema like the blow.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Adding
the Configuration Namespace for blueprint</b></div><div class="codeContent
panelContent pdl">
+</div></div><p>The <code>camel:conduit</code> 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"><p>Element</p></th><th colspan="1"
rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p><code>camel-spring:camelContext</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>You can specify the camel context
in the camel conduit</p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p><code>camel:camelContextRef</code></p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p>The camel context id which you want
inject into the camel conduit</p></td></tr></tbody></table></div><h2
id="Bookcookbook-ConfigurethedestinationandconduitwithBlueprint">Configure the destination
and conduit with Blueprint</h2><p>From <strong>Camel 2.11.x</s
 trong>, Camel Transport supports to be configured with Blueprint.</p><p>If
you are using blueprint, you should use the the namespace <code><a shape="rect" href="http://cxf.apache.org/transports/camel/blueprint">http://cxf.apache.org/transports/camel/blueprint</a></code>
and import the schema like the blow.</p><div class="code panel pdl" style="border-width:
1px;"><div class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Adding
the Configuration Namespace for blueprint</b></div><div class="codeContent
panelContent pdl">
 <script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[&lt;beans
...
        xmlns:camel=&quot;http://cxf.apache.org/transports/camel/blueprint&quot;
        ...



Mime
View raw message