You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/01/18 11:15:29 UTC

camel git commit: CAMEL-10620: Update amqp docs

Repository: camel
Updated Branches:
  refs/heads/master 1460a1ffc -> 59b3a9341


CAMEL-10620: Update amqp docs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/59b3a934
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/59b3a934
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/59b3a934

Branch: refs/heads/master
Commit: 59b3a9341e7fe033cd6493ee1c1202a41f36db7e
Parents: 1460a1f
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Jan 18 12:15:22 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Jan 18 12:15:22 2017 +0100

----------------------------------------------------------------------
 components/camel-amqp/src/main/docs/amqp-component.adoc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/59b3a934/components/camel-amqp/src/main/docs/amqp-component.adoc
----------------------------------------------------------------------
diff --git a/components/camel-amqp/src/main/docs/amqp-component.adoc b/components/camel-amqp/src/main/docs/amqp-component.adoc
index ea76541..644c5ca 100644
--- a/components/camel-amqp/src/main/docs/amqp-component.adoc
+++ b/components/camel-amqp/src/main/docs/amqp-component.adoc
@@ -338,12 +338,12 @@ component to use�`topic://`�as topic prefix, as shown below:
 [source,java]
 -------------------------------------------------------------------------------------------------------------------------------
  <bean id="amqp" class="org.apache.camel.component.amqp.AmqpComponent">
-        <property name="connectionFactory">
-          <bean class="org.apache.qpid.amqp_1_0.jms.impl.ConnectionFactoryImpl" factory-method="createFromURL">
-            <constructor-arg index="0" type="java.lang.String" value="amqp://localhost:5672" />
-            <property name="topicPrefix" value="topic://" />  <!-- only necessary when connecting to ActiveMQ over AMQP 1.0 -->
-          </bean>
-        </property>
+   <property name="connectionFactory">
+     <bean class="org.apache.qpid.jms.JmsConnectionFactory" factory-method="createFromURL">
+       <property name="remoteURI" value="amqp://localhost:5672" />
+       <property name="topicPrefix" value="topic://" />  <!-- only necessary when connecting to ActiveMQ over AMQP 1.0 -->
+     </bean>
+   </property>
  </bean>
 -------------------------------------------------------------------------------------------------------------------------------