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-9429: Upgrade to ActiveMQ 5.13.1. Thanks to Dejan for the patch.
Date Sat, 13 Feb 2016 07:50:26 GMT
Repository: camel
Updated Branches:
  refs/heads/master 972c3403a -> 9c167d947


CAMEL-9429: Upgrade to ActiveMQ 5.13.1. Thanks to Dejan for the patch.


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

Branch: refs/heads/master
Commit: 9c167d947d5ee453bed640ed94d7eb21d3afa856
Parents: 972c340
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Feb 13 08:50:13 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Feb 13 08:50:13 2016 +0100

----------------------------------------------------------------------
 .../src/main/resources/camel-client-remoting.xml             | 8 ++++++--
 .../src/main/resources/camel-client.xml                      | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9c167d94/examples/camel-example-spring-jms/src/main/resources/camel-client-remoting.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-jms/src/main/resources/camel-client-remoting.xml
b/examples/camel-example-spring-jms/src/main/resources/camel-client-remoting.xml
index 5a3a754..7c11b7c 100644
--- a/examples/camel-example-spring-jms/src/main/resources/camel-client-remoting.xml
+++ b/examples/camel-example-spring-jms/src/main/resources/camel-client-remoting.xml
@@ -42,8 +42,12 @@
 
   <!-- Camel JMSProducer to be able to send messages to a remote Active MQ server -->
   <bean id="jms" class="org.apache.activemq.camel.component.ActiveMQComponent">
-    <property name="brokerURL" value="tcp://localhost:${tcp.port}"/>
-    <property name="trustAllPackages" value="true"/>
+    <property name="connectionFactory">
+      <bean class="org.apache.activemq.spring.ActiveMQConnectionFactory">
+        <property name="brokerURL" value="tcp://localhost:${tcp.port}"/>
+        <property name="trustAllPackages" value="true"/>
+      </bean>
+    </property>
   </bean>
 
 </beans>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/9c167d94/examples/camel-example-spring-jms/src/main/resources/camel-client.xml
----------------------------------------------------------------------
diff --git a/examples/camel-example-spring-jms/src/main/resources/camel-client.xml b/examples/camel-example-spring-jms/src/main/resources/camel-client.xml
index 59f882e..de391e9 100644
--- a/examples/camel-example-spring-jms/src/main/resources/camel-client.xml
+++ b/examples/camel-example-spring-jms/src/main/resources/camel-client.xml
@@ -40,8 +40,12 @@
   <!-- START SNIPPET: e3 -->
   <!-- Camel JMSProducer to be able to send messages to a remote Active MQ server -->
   <bean id="jms" class="org.apache.activemq.camel.component.ActiveMQComponent">
-    <property name="brokerURL" value="tcp://localhost:${tcp.port}"/>
-    <property name="trustAllPackages" value="true"/>
+    <property name="connectionFactory">
+      <bean class="org.apache.activemq.spring.ActiveMQConnectionFactory">
+        <property name="brokerURL" value="tcp://localhost:${tcp.port}"/>
+        <property name="trustAllPackages" value="true"/>
+      </bean>
+    </property>
   </bean>
   <!-- END SNIPPET: e3 -->
 


Mime
View raw message