You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/01/06 10:22:25 UTC
svn commit: r845209 - in /websites/production/camel/content:
book-in-one-page.html cache/main.pageCache
Author: buildbot
Date: Sun Jan 6 09:22:25 2013
New Revision: 845209
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 Sun Jan 6 09:22:25 2013
@@ -4089,8 +4089,13 @@ from(<span class="code-quote">"file:data
BusFactory bf = BusFactory.newInstance();
Bus bus = bf.createBus();
CamelTransportFactory camelTransportFactory = <span class="code-keyword">new</span> CamelTransportFactory();
-camelTransportFactory.setCamelContext(context)
-<span class="code-comment">// register the conduit initiator
+<span class="code-comment">// set up the CamelContext which will be use by the CamelTransportFactory
+</span>camelTransportFactory.setCamelContext(context)
+<span class="code-comment">// <span class="code-keyword">if</span> you are using CXF higher then 2.4.x the
+</span>camelTransportFactory.setBus(bus);
+
+<span class="code-comment">// <span class="code-keyword">if</span> you are lower CXF, you need to register the ConduitInitiatorManager and DestinationFactoryManager like below
+</span><span class="code-comment">// register the conduit initiator
</span>ConduitInitiatorManager cim = bus.getExtension(ConduitInitiatorManager.class);
cim.registerConduitInitiator(CamelTransportFactory.TRANSPORT_ID, camelTransportFactory);
<span class="code-comment">// register the destination factory
@@ -35759,12 +35764,10 @@ spring-integration:defaultChannelName[?o
<pre class="code-xml"><beans:beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/integration"</span>
<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="code-keyword">xmlns:beans</span>=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/integration
- http://www.springframework.org/schema/integration/spring-integration.xsd
- http://camel.apache.org/schema/spring
- http://camel.apache.org/schema/spring/camel-spring.xsd">
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
+ http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<span class="code-tag"><span class="code-comment"><!-- spring integration channels --></span></span>
<span class="code-tag"><channel id=<span class="code-quote">"inputChannel"</span>/></span>
@@ -35815,12 +35818,10 @@ spring-integration:defaultChannelName[?o
<pre class="code-xml"><beans:beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/integration"</span>
<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="code-keyword">xmlns:beans</span>=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/integration
- http://www.springframework.org/schema/integration/spring-integration.xsd
- http://camel.apache.org/schema/spring
- http://camel.apache.org/schema/spring/camel-spring.xsd">
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
+ http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<span class="code-tag"><span class="code-comment"><!-- spring integration channel --></span></span>
<span class="code-tag"><channel id=<span class="code-quote">"outputChannel"</span>/></span>
@@ -35846,14 +35847,10 @@ spring-integration:defaultChannelName[?o
<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
<span class="code-keyword">xmlns:camel-si</span>=<span class="code-quote">"http://camel.apache.org/schema/spring/integration"</span>
xsi:schemaLocation="
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://www.springframework.org/schema/integration
- http://www.springframework.org/schema/integration/spring-integration.xsd
- http://camel.apache.org/schema/spring/integration
- http://camel.apache.org/schema/spring/integration/camel-spring-integration.xsd
- http://camel.apache.org/schema/spring
- http://camel.apache.org/schema/spring/camel-spring.xsd
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
+ http://camel.apache.org/schema/spring/integration http://camel.apache.org/schema/spring/integration/camel-spring-integration.xsd
+ http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
">
</pre>
</div></div>
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.