mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3235 - upgrade to camel 2.8-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1084132 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
27c1719757
commit
8ba02a395f
|
@ -23,7 +23,7 @@ import org.apache.camel.Endpoint;
|
|||
import org.apache.camel.component.jms.JmsConsumer;
|
||||
import org.apache.camel.component.jms.JmsEndpoint;
|
||||
import org.apache.camel.component.jms.JmsProducer;
|
||||
import org.apache.camel.processor.Logger;
|
||||
import org.apache.camel.processor.CamelLogger;
|
||||
import org.springframework.jms.core.JmsTemplate;
|
||||
import org.springframework.jms.listener.AbstractMessageListenerContainer;
|
||||
import org.springframework.jms.connection.SingleConnectionFactory;
|
||||
|
@ -63,7 +63,7 @@ public class ActiveMQConfigureTest extends ContextTestSupport {
|
|||
|
||||
public void testListenerContainerUsesSpringConnectionFactory() throws Exception {
|
||||
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:topic:test.foo");
|
||||
JmsConsumer consumer = endpoint.createConsumer(new Logger());
|
||||
JmsConsumer consumer = endpoint.createConsumer(new CamelLogger());
|
||||
|
||||
AbstractMessageListenerContainer listenerContainer = consumer.getListenerContainer();
|
||||
assertEquals("pubSubDomain", true, listenerContainer.isPubSubDomain());
|
||||
|
|
|
@ -23,10 +23,7 @@
|
|||
">
|
||||
|
||||
<!-- START SNIPPET: example -->
|
||||
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
|
||||
<beanPostProcessor/>
|
||||
|
||||
</camelContext>
|
||||
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"/>
|
||||
|
||||
<bean id="connectionFactory" class="org.apache.activemq.spring.ActiveMQConnectionFactory">
|
||||
<property name="brokerURL" value="vm://localhost?broker.persistent=false"/>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -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.6.0</camel-version>
|
||||
<camel-version>2.8-SNAPSHOT</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>
|
||||
|
|
Loading…
Reference in New Issue