activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1071848 - in /activemq/trunk: activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java pom.xml
Date Fri, 18 Feb 2011 00:50:35 GMT
Author: chirino
Date: Fri Feb 18 00:50:35 2011
New Revision: 1071848

URL: http://svn.apache.org/viewvc?rev=1071848&view=rev
Log:
Fixes AMQ-3184 : Upgrade to Camel 2.6.0

Modified:
    activemq/trunk/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java
    activemq/trunk/pom.xml

Modified: activemq/trunk/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java?rev=1071848&r1=1071847&r2=1071848&view=diff
==============================================================================
--- activemq/trunk/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java
(original)
+++ activemq/trunk/activemq-camel/src/test/java/org/apache/activemq/camel/component/ActiveMQConfigureTest.java
Fri Feb 18 00:50:35 2011
@@ -35,7 +35,7 @@ public class ActiveMQConfigureTest exten
     
     public void testJmsTemplateUsesPoolingConnectionFactory() throws Exception {
         JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo");
-        JmsProducer producer = endpoint.createProducer();
+        JmsProducer producer = (JmsProducer) endpoint.createProducer();
 
         JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
         assertEquals("pubSubDomain", false, template.isPubSubDomain());
@@ -44,7 +44,7 @@ public class ActiveMQConfigureTest exten
 
     public void testJmsTemplateUsesSingleConnectionFactory() throws Exception {
         JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?useSingleConnection=true");
-        JmsProducer producer = endpoint.createProducer();
+        JmsProducer producer = (JmsProducer) endpoint.createProducer();
 
         JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
         assertEquals("pubSubDomain", false, template.isPubSubDomain());
@@ -54,7 +54,7 @@ public class ActiveMQConfigureTest exten
 
     public void testJmsTemplateDoesNotUsePoolingConnectionFactory() throws Exception {
         JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?usePooledConnection=false");
-        JmsProducer producer = endpoint.createProducer();
+        JmsProducer producer = (JmsProducer) endpoint.createProducer();
 
         JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
         assertEquals("pubSubDomain", false, template.isPubSubDomain());

Modified: activemq/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/pom.xml?rev=1071848&r1=1071847&r2=1071848&view=diff
==============================================================================
--- activemq/trunk/pom.xml (original)
+++ activemq/trunk/pom.xml Fri Feb 18 00:50:35 2011
@@ -45,7 +45,7 @@
     <aries-version>0.2-incubating</aries-version>
     <axion-version>1.0-M3-dev</axion-version>
     <axis-version>1.2-RC1</axis-version>
-    <camel-version>2.4.0</camel-version>
+    <camel-version>2.6.0</camel-version>
     <cglib-version>2.0</cglib-version>
     <commons-beanutils-version>1.6.1</commons-beanutils-version>
     <commons-collections-version>3.2.1</commons-collections-version>



Mime
View raw message