Skip to content

Commit f58072c

Browse files
committed
convert ActiveMQConnectionFactory to SingleConnectionFactory in jms-sender-applicationContext.xml
1 parent 80f17c9 commit f58072c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spring-ws-support/src/test/resources/org/springframework/ws/transport/jms/jms-sender-applicationContext.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
55

6-
<bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
6+
<bean id="targetConnectionFactory"
7+
class="org.apache.activemq.ActiveMQConnectionFactory">
78
<property name="brokerURL" value="vm://localhost?broker.persistent=false"/>
89
</bean>
910

11+
<bean id="connectionFactory"
12+
class="org.springframework.jms.connection.SingleConnectionFactory">
13+
<property name="targetConnectionFactory" ref="targetConnectionFactory"/>
14+
</bean>
15+
1016
<bean id="requestQueue" class="org.apache.activemq.command.ActiveMQQueue">
1117
<property name="physicalName" value="SenderRequestQueue"/>
1218
</bean>

0 commit comments

Comments
 (0)