You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2006/10/25 18:46:27 UTC
svn commit: r467708 -
/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml
Author: chirino
Date: Wed Oct 25 09:46:26 2006
New Revision: 467708
URL: http://svn.apache.org/viewvc?view=rev&rev=467708
Log:
Fix to support spring 2.0, connections produced with SingleConnectionFactory do not allow you to set the clientId on the connection.
Modified:
incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml
Modified: incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml?view=diff&rev=467708&r1=467707&r2=467708
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml (original)
+++ incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml Wed Oct 25 09:46:26 2006
@@ -52,6 +52,11 @@
</bean>
</property>
</bean>
+
+ <!-- Spring JMS Template -->
+ <bean id="consumerJmsTemplate" class="org.springframework.jms.core.JmsTemplate">
+ <property name="connectionFactory" ref="jmsFactory"/>
+ </bean>
<!-- a sample POJO which uses a Spring JmsTemplate -->
<bean id="producer" class="org.apache.activemq.spring.SpringProducer">
@@ -72,7 +77,7 @@
<!-- a sample POJO consumer -->
<bean id="consumer" class="org.apache.activemq.spring.SpringConsumer">
<property name="template">
- <ref bean="myJmsTemplate"></ref>
+ <ref bean="consumerJmsTemplate"></ref>
</property>
<property name="destination">