mirror of https://github.com/apache/activemq.git
Fix to support spring 2.0, connections produced with SingleConnectionFactory do not allow you to set the clientId on the connection.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@467708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fed2d6b5c7
commit
be0aaf481f
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue