mirror of https://github.com/apache/activemq.git
Fixes AMQ-3184 : Upgrade to Camel 2.6.0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071848 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6d444d5132
commit
c1f4dc94bb
|
@ -35,7 +35,7 @@ public class ActiveMQConfigureTest extends ContextTestSupport {
|
||||||
|
|
||||||
public void testJmsTemplateUsesPoolingConnectionFactory() throws Exception {
|
public void testJmsTemplateUsesPoolingConnectionFactory() throws Exception {
|
||||||
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo");
|
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo");
|
||||||
JmsProducer producer = endpoint.createProducer();
|
JmsProducer producer = (JmsProducer) endpoint.createProducer();
|
||||||
|
|
||||||
JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
|
JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
|
||||||
assertEquals("pubSubDomain", false, template.isPubSubDomain());
|
assertEquals("pubSubDomain", false, template.isPubSubDomain());
|
||||||
|
@ -44,7 +44,7 @@ public class ActiveMQConfigureTest extends ContextTestSupport {
|
||||||
|
|
||||||
public void testJmsTemplateUsesSingleConnectionFactory() throws Exception {
|
public void testJmsTemplateUsesSingleConnectionFactory() throws Exception {
|
||||||
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?useSingleConnection=true");
|
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?useSingleConnection=true");
|
||||||
JmsProducer producer = endpoint.createProducer();
|
JmsProducer producer = (JmsProducer) endpoint.createProducer();
|
||||||
|
|
||||||
JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
|
JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
|
||||||
assertEquals("pubSubDomain", false, template.isPubSubDomain());
|
assertEquals("pubSubDomain", false, template.isPubSubDomain());
|
||||||
|
@ -54,7 +54,7 @@ public class ActiveMQConfigureTest extends ContextTestSupport {
|
||||||
|
|
||||||
public void testJmsTemplateDoesNotUsePoolingConnectionFactory() throws Exception {
|
public void testJmsTemplateDoesNotUsePoolingConnectionFactory() throws Exception {
|
||||||
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?usePooledConnection=false");
|
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:test.foo?usePooledConnection=false");
|
||||||
JmsProducer producer = endpoint.createProducer();
|
JmsProducer producer = (JmsProducer) endpoint.createProducer();
|
||||||
|
|
||||||
JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
|
JmsTemplate template = assertIsInstanceOf(JmsTemplate.class, producer.getInOutTemplate());
|
||||||
assertEquals("pubSubDomain", false, template.isPubSubDomain());
|
assertEquals("pubSubDomain", false, template.isPubSubDomain());
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -45,7 +45,7 @@
|
||||||
<aries-version>0.2-incubating</aries-version>
|
<aries-version>0.2-incubating</aries-version>
|
||||||
<axion-version>1.0-M3-dev</axion-version>
|
<axion-version>1.0-M3-dev</axion-version>
|
||||||
<axis-version>1.2-RC1</axis-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>
|
<cglib-version>2.0</cglib-version>
|
||||||
<commons-beanutils-version>1.6.1</commons-beanutils-version>
|
<commons-beanutils-version>1.6.1</commons-beanutils-version>
|
||||||
<commons-collections-version>3.2.1</commons-collections-version>
|
<commons-collections-version>3.2.1</commons-collections-version>
|
||||||
|
|
Loading…
Reference in New Issue