activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r467708 - /incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/spring.xml
Date Wed, 25 Oct 2006 16:46:27 GMT
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">



Mime
View raw message