camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r974396 - in /websites/production/camel/content: amqp.html book-component-appendix.html book-in-one-page.html cache/main.pageCache
Date Thu, 03 Dec 2015 13:20:26 GMT
Author: buildbot
Date: Thu Dec  3 13:20:26 2015
New Revision: 974396

Log:
Production update by buildbot for camel

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

Modified: websites/production/camel/content/amqp.html
==============================================================================
--- websites/production/camel/content/amqp.html (original)
+++ websites/production/camel/content/amqp.html Thu Dec  3 13:20:26 2015
@@ -103,7 +103,23 @@ from("amqp:queue:incoming").
 // Sending message to the AMQP topic
 from(...).
   to(&quot;amqp:topic:notify&quot;);]]></script>
-</div></div><h3 id="AMQP-Usingtopics">Using topics</h3><p>To
have using topics working with <code>camel-amqp</code> you need to configure the
component to use <code>topic://</code> as topic prefix, as shown below:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="AMQP-ConfiguringAMQPcomponent"><span style="line-height:
1.5;">Configuring AMQP component</span></h3><p>Starting from the Camel
2.16.1 you can also use the <code>AMQPComponent#amqp10Component(String connectionURI)</code>
factory method to return the AMQP 1.0 component with the pre-configured&#160;topic prefix:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
+</div></div><p>Keep in mind that starting from the Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String
connectionURI)</code>&#160;factory method has been deprecated on the behalf of the
<code><span>AMQPComponent#amqpComponent(String connectionURI)</span></code>:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[AMQPComponent
amqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);
+ 
+AMQPComponent authorizedAmqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;,
&quot;user&quot;, &quot;password&quot;);]]></script>
+</div></div><p>Starting from Camel 2.17, in order to automatically configure
the AMQP component, you can also add an instance of&#160;<code>org.apache.camel.component.amqp.AMQPConnectionDetails</code>
to the registry. For example for Spring Boot you just have to define&#160;bean:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>AMQP connection details auto-configuration</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[@Bean
+AMQPConnectionDetails amqpConnection() {
+  return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;); 
+}
+ 
+@Bean
+AMQPConnectionDetails securedAmqpConnection() {
+  return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;, &quot;username&quot;,
&quot;password&quot;); 
+}]]></script>
+</div></div><h3 id="AMQP-Usingtopics">Using topics</h3><p>To
have using topics working with&#160;<code>camel-amqp</code>&#160;you need
to configure the component to use&#160;<code>topic://</code>&#160;as topic
prefix, as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
&lt;bean id=&quot;amqp&quot; class=&quot;org.apache.camel.component.amqp.AmqpComponent&quot;&gt;
         &lt;property name=&quot;connectionFactory&quot;&gt;
           &lt;bean class=&quot;org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl&quot;
factory-method=&quot;createFromURL&quot;&gt;
@@ -112,11 +128,7 @@ from(...).
           &lt;/bean&gt;
         &lt;/property&gt;
  &lt;/bean&gt;]]></script>
-</div></div><p>&#160;</p><p>Starting from the Camel 2.16.1
you can also use the <code>AMQPComponent#amqp10Component(String connectionURI)</code>
factory method to return the AMQP 1.0 component with the pre-configured&#160;topic prefix:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
-</div></div><p>Keep in mind that starting from the Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String
connectionURI)</code>&#160;factory method has been deprecated on the behalf of the
<code><span>AMQPComponent#amqpComponent(String connectionURI)</span></code>:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);]]></script>
-</div></div><p>&#160;</p><p>&#160;</p><p></p><h3
id="AMQP-SeeAlso">See Also</h3>
+</div></div><p>Keep in mind that both&#160;&#160;<code>AMQPComponent#amqpComponent()</code>&#160;methods
and <code>AMQPConnectionDetails</code> pre-configure the component with the topic
prefix, so you don't have to configure it explicitly.</p><p></p><h3 id="AMQP-SeeAlso">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></div>
         </td>
         <td valign="top">

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 Thu Dec  3 13:20:26 2015
@@ -226,7 +226,23 @@ from(&quot;amqp:queue:incoming&quot;).
 // Sending message to the AMQP topic
 from(...).
   to(&quot;amqp:topic:notify&quot;);]]></script>
-</div></div><h3 id="BookComponentAppendix-Usingtopics">Using topics</h3><p>To
have using topics working with <code>camel-amqp</code> you need to configure the
component to use <code>topic://</code> as topic prefix, as shown below:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="BookComponentAppendix-ConfiguringAMQPcomponent"><span
style="line-height: 1.5;">Configuring AMQP component</span></h3><p>Starting
from the Camel 2.16.1 you can also use the <code>AMQPComponent#amqp10Component(String
connectionURI)</code> factory method to return the AMQP 1.0 component with the pre-configured&#160;topic
prefix:&#160;</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeHeader panelHeader pdl" style="border-bottom-width: 1px;"><b>Creating
AMQP 1.0 component</b></div><div class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
+</div></div><p>Keep in mind that starting from the Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String
connectionURI)</code>&#160;factory method has been deprecated on the behalf of the
<code><span>AMQPComponent#amqpComponent(String connectionURI)</span></code>:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[AMQPComponent
amqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);
+ 
+AMQPComponent authorizedAmqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;,
&quot;user&quot;, &quot;password&quot;);]]></script>
+</div></div><p>Starting from Camel 2.17, in order to automatically configure
the AMQP component, you can also add an instance of&#160;<code>org.apache.camel.component.amqp.AMQPConnectionDetails</code>
to the registry. For example for Spring Boot you just have to define&#160;bean:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>AMQP connection details auto-configuration</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[@Bean
+AMQPConnectionDetails amqpConnection() {
+  return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;); 
+}
+ 
+@Bean
+AMQPConnectionDetails securedAmqpConnection() {
+  return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;, &quot;username&quot;,
&quot;password&quot;); 
+}]]></script>
+</div></div><h3 id="BookComponentAppendix-Usingtopics">Using topics</h3><p>To
have using topics working with&#160;<code>camel-amqp</code>&#160;you need
to configure the component to use&#160;<code>topic://</code>&#160;as topic
prefix, as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
&lt;bean id=&quot;amqp&quot; class=&quot;org.apache.camel.component.amqp.AmqpComponent&quot;&gt;
         &lt;property name=&quot;connectionFactory&quot;&gt;
           &lt;bean class=&quot;org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl&quot;
factory-method=&quot;createFromURL&quot;&gt;
@@ -235,11 +251,7 @@ from(...).
           &lt;/bean&gt;
         &lt;/property&gt;
  &lt;/bean&gt;]]></script>
-</div></div><p>&#160;</p><p>Starting from the Camel 2.16.1
you can also use the <code>AMQPComponent#amqp10Component(String connectionURI)</code>
factory method to return the AMQP 1.0 component with the pre-configured&#160;topic prefix:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
-</div></div><p>Keep in mind that starting from the Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String
connectionURI)</code>&#160;factory method has been deprecated on the behalf of the
<code><span>AMQPComponent#amqpComponent(String connectionURI)</span></code>:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);]]></script>
-</div></div><p>&#160;</p><p>&#160;</p><p></p><h3
id="BookComponentAppendix-SeeAlso.1">See Also</h3>
+</div></div><p>Keep in mind that both&#160;&#160;<code>AMQPComponent#amqpComponent()</code>&#160;methods
and <code>AMQPConnectionDetails</code> pre-configure the component with the topic
prefix, so you don't have to configure it explicitly.</p><p></p><h3 id="BookComponentAppendix-SeeAlso.1">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> <h2 id="BookComponentAppendix-SQSComponent">SQS
Component</h2><p><strong>Available as of Camel 2.6</strong></p><p>The
sqs component supports sending and receiving messages to <a shape="rect" class="external-link"
href="http://aws.amazon.com/sqs" rel="nofollow">Amazon's SQS</a> service.</p><div
class="confluence-information-macro confluence-information-macro-information"><p class="title">Prerequisites</p><span
class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"></span><div
class="confluence-information-macro-body"><p>You must have a valid Amazon Web Services
developer account, and be signed up to use Amazon SQS. More information are available at <a
shape="rect" class="external-link
 " href="http://aws.amazon.com/sqs" rel="nofollow">Amazon SQS</a>.</p></div></div><h3
id="BookComponentAppendix-URIFormat">URI Format</h3><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[aws-sqs://queue-name[?options]
 ]]></script>
@@ -1085,11 +1097,11 @@ template.send(&quot;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.rbtoc1448990254545 {padding: 0px;}
-div.rbtoc1448990254545 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1448990254545 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1449148717907 {padding: 0px;}
+div.rbtoc1449148717907 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1449148717907 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1448990254545">
+/*]]>*/</style></p><div class="toc-macro rbtoc1449148717907">
 <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>

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 Thu Dec  3 13:20:26 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.rbtoc1448990282902 {padding: 0px;}
-div.rbtoc1448990282902 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1448990282902 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1449148726527 {padding: 0px;}
+div.rbtoc1449148726527 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1449148726527 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1448990282902">
+/*]]>*/</style></p><div class="toc-macro rbtoc1449148726527">
 <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.rbtoc1448990284088 {padding: 0px;}
-div.rbtoc1448990284088 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1448990284088 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1449148726907 {padding: 0px;}
+div.rbtoc1449148726907 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1449148726907 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style><div class="toc-macro rbtoc1448990284088">
+/*]]>*/</style><div class="toc-macro rbtoc1449148726907">
 <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>
@@ -16486,7 +16486,23 @@ from(&quot;amqp:queue:incoming&quot;).
 // Sending message to the AMQP topic
 from(...).
   to(&quot;amqp:topic:notify&quot;);]]></script>
-</div></div><h3 id="BookInOnePage-Usingtopics">Using topics</h3><p>To
have using topics working with <code>camel-amqp</code> you need to configure the
component to use <code>topic://</code> as topic prefix, as shown below:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent
pdl">
+</div></div><h3 id="BookInOnePage-ConfiguringAMQPcomponent"><span style="line-height:
1.5;">Configuring AMQP component</span></h3><p>Starting from the Camel
2.16.1 you can also use the <code>AMQPComponent#amqp10Component(String connectionURI)</code>
factory method to return the AMQP 1.0 component with the pre-configured&#160;topic prefix:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
+</div></div><p>Keep in mind that starting from the Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String
connectionURI)</code>&#160;factory method has been deprecated on the behalf of the
<code><span>AMQPComponent#amqpComponent(String connectionURI)</span></code>:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[AMQPComponent
amqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);
+ 
+AMQPComponent authorizedAmqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;,
&quot;user&quot;, &quot;password&quot;);]]></script>
+</div></div><p>Starting from Camel 2.17, in order to automatically configure
the AMQP component, you can also add an instance of&#160;<code>org.apache.camel.component.amqp.AMQPConnectionDetails</code>
to the registry. For example for Spring Boot you just have to define&#160;bean:</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>AMQP connection details auto-configuration</b></div><div
class="codeContent panelContent pdl">
+<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[@Bean
+AMQPConnectionDetails amqpConnection() {
+  return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;); 
+}
+ 
+@Bean
+AMQPConnectionDetails securedAmqpConnection() {
+  return new AMQPConnectionDetails(&quot;amqp://lcoalhost:5672&quot;, &quot;username&quot;,
&quot;password&quot;); 
+}]]></script>
+</div></div><h3 id="BookInOnePage-Usingtopics">Using topics</h3><p>To
have using topics working with&#160;<code>camel-amqp</code>&#160;you need
to configure the component to use&#160;<code>topic://</code>&#160;as topic
prefix, as shown below:</p><div class="code panel pdl" style="border-width: 1px;"><div
class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
&lt;bean id=&quot;amqp&quot; class=&quot;org.apache.camel.component.amqp.AmqpComponent&quot;&gt;
         &lt;property name=&quot;connectionFactory&quot;&gt;
           &lt;bean class=&quot;org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl&quot;
factory-method=&quot;createFromURL&quot;&gt;
@@ -16495,11 +16511,7 @@ from(...).
           &lt;/bean&gt;
         &lt;/property&gt;
  &lt;/bean&gt;]]></script>
-</div></div><p>&#160;</p><p>Starting from the Camel 2.16.1
you can also use the <code>AMQPComponent#amqp10Component(String connectionURI)</code>
factory method to return the AMQP 1.0 component with the pre-configured&#160;topic prefix:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqp10Component(&quot;amqp://guest:guest@localhost:5672&quot;);]]></script>
-</div></div><p>Keep in mind that starting from the Camel&#160;2.17&#160;the&#160;<code>AMQPComponent#amqp10Component(String
connectionURI)</code>&#160;factory method has been deprecated on the behalf of the
<code><span>AMQPComponent#amqpComponent(String connectionURI)</span></code>:&#160;</p><div
class="code panel pdl" style="border-width: 1px;"><div class="codeHeader panelHeader
pdl" style="border-bottom-width: 1px;"><b>Creating AMQP 1.0 component</b></div><div
class="codeContent panelContent pdl">
-<script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
AMQPComponent amqp = AMQPComponent.amqpComponent(&quot;amqp://localhost:5672&quot;);]]></script>
-</div></div><p>&#160;</p><p>&#160;</p><p></p><h3
id="BookInOnePage-SeeAlso.21">See Also</h3>
+</div></div><p>Keep in mind that both&#160;&#160;<code>AMQPComponent#amqpComponent()</code>&#160;methods
and <code>AMQPConnectionDetails</code> pre-configure the component with the topic
prefix, so you don't have to configure it explicitly.</p><p></p><h3 id="BookInOnePage-SeeAlso.21">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> <h2 id="BookInOnePage-SQSComponent">SQS Component</h2><p><strong>Available
as of Camel 2.6</strong></p><p>The sqs component supports sending and receiving
messages to <a shape="rect" class="external-link" href="http://aws.amazon.com/sqs" rel="nofollow">Amazon's
SQS</a> service.</p><div class="confluence-information-macro confluence-information-macro-information"><p
class="title">Prerequisites</p><span class="aui-icon aui-icon-small aui-iconfont-info
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>You
must have a valid Amazon Web Services developer account, and be signed up to use Amazon SQS.
More information are available at <a shape="rect" class="external-link" href="
 http://aws.amazon.com/sqs" rel="nofollow">Amazon SQS</a>.</p></div></div><h3
id="BookInOnePage-URIFormat">URI Format</h3><div class="code panel pdl" style="border-width:
1px;"><div class="codeContent panelContent pdl">
 <script class="brush: java; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[aws-sqs://queue-name[?options]
 ]]></script>
@@ -17345,11 +17357,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.rbtoc1448990340181 {padding: 0px;}
-div.rbtoc1448990340181 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1448990340181 li {margin-left: 0px;padding-left: 0px;}
+div.rbtoc1449148729992 {padding: 0px;}
+div.rbtoc1449148729992 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1449148729992 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></p><div class="toc-macro rbtoc1448990340181">
+/*]]>*/</style></p><div class="toc-macro rbtoc1449148729992">
 <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.



Mime
View raw message