git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1084132 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-03-22 11:09:52 +00:00
parent 27c1719757
commit 8ba02a395f
3 changed files with 4 additions and 7 deletions

View File

@ -23,7 +23,7 @@ import org.apache.camel.Endpoint;
import org.apache.camel.component.jms.JmsConsumer; import org.apache.camel.component.jms.JmsConsumer;
import org.apache.camel.component.jms.JmsEndpoint; import org.apache.camel.component.jms.JmsEndpoint;
import org.apache.camel.component.jms.JmsProducer; 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.core.JmsTemplate;
import org.springframework.jms.listener.AbstractMessageListenerContainer; import org.springframework.jms.listener.AbstractMessageListenerContainer;
import org.springframework.jms.connection.SingleConnectionFactory; import org.springframework.jms.connection.SingleConnectionFactory;
@ -63,7 +63,7 @@ public class ActiveMQConfigureTest extends ContextTestSupport {
public void testListenerContainerUsesSpringConnectionFactory() throws Exception { public void testListenerContainerUsesSpringConnectionFactory() throws Exception {
JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:topic:test.foo"); JmsEndpoint endpoint = resolveMandatoryEndpoint("activemq:topic:test.foo");
JmsConsumer consumer = endpoint.createConsumer(new Logger()); JmsConsumer consumer = endpoint.createConsumer(new CamelLogger());
AbstractMessageListenerContainer listenerContainer = consumer.getListenerContainer(); AbstractMessageListenerContainer listenerContainer = consumer.getListenerContainer();
assertEquals("pubSubDomain", true, listenerContainer.isPubSubDomain()); assertEquals("pubSubDomain", true, listenerContainer.isPubSubDomain());

View File

@ -23,10 +23,7 @@
"> ">
<!-- START SNIPPET: example --> <!-- START SNIPPET: example -->
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"/>
<beanPostProcessor/>
</camelContext>
<bean id="connectionFactory" class="org.apache.activemq.spring.ActiveMQConnectionFactory"> <bean id="connectionFactory" class="org.apache.activemq.spring.ActiveMQConnectionFactory">
<property name="brokerURL" value="vm://localhost?broker.persistent=false"/> <property name="brokerURL" value="vm://localhost?broker.persistent=false"/>

View File

@ -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.6.0</camel-version> <camel-version>2.8-SNAPSHOT</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>