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
|
@ -53,6 +53,11 @@
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</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 -->
|
<!-- a sample POJO which uses a Spring JmsTemplate -->
|
||||||
<bean id="producer" class="org.apache.activemq.spring.SpringProducer">
|
<bean id="producer" class="org.apache.activemq.spring.SpringProducer">
|
||||||
<property name="template">
|
<property name="template">
|
||||||
|
@ -72,7 +77,7 @@
|
||||||
<!-- a sample POJO consumer -->
|
<!-- a sample POJO consumer -->
|
||||||
<bean id="consumer" class="org.apache.activemq.spring.SpringConsumer">
|
<bean id="consumer" class="org.apache.activemq.spring.SpringConsumer">
|
||||||
<property name="template">
|
<property name="template">
|
||||||
<ref bean="myJmsTemplate"></ref>
|
<ref bean="consumerJmsTemplate"></ref>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property name="destination">
|
<property name="destination">
|
||||||
|
|
Loading…
Reference in New Issue