camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject camel git commit: CAMEL-10620: Update amqp docs
Date Wed, 18 Jan 2017 11:15:29 GMT
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 <davsclaus@apache.org>
Authored: Wed Jan 18 12:15:22 2017 +0100
Committer: Claus Ibsen <davsclaus@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>
 -------------------------------------------------------------------------------------------------------------------------------
 


Mime
View raw message