File tree Expand file tree Collapse file tree 4 files changed +30
-24
lines changed
resources/org/springframework/ws/samples/airline Expand file tree Collapse file tree 4 files changed +30
-24
lines changed Original file line number Diff line number Diff line change 29
29
<url >http://fisheye3.cenqua.com/browse/springframework/spring-ws/trunk</url >
30
30
</scm >
31
31
<properties >
32
- <spring .version>2.5.2 </spring .version>
32
+ <spring .version>2.5.3 </spring .version>
33
33
</properties >
34
34
<repositories >
35
35
<repository >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <beans xmlns =" http://www.springframework.org/schema/beans"
3
+ xmlns : jms =" http://www.springframework.org/schema/jms"
4
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6
+ http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-2.5.xsd" >
7
+
8
+ <!-- ===================== JMS TRANSPORT ===================================== -->
9
+
10
+ <bean id =" broker" class =" org.apache.activemq.broker.BrokerFactory" factory-method =" createBroker"
11
+ init-method =" start" >
12
+ <constructor-arg value =" broker:tcp://localhost:61616?persistent=false" />
13
+ </bean >
14
+
15
+ <bean id =" connectionFactory" class =" org.apache.activemq.ActiveMQConnectionFactory" >
16
+ <property name =" brokerURL" value =" tcp://localhost:61616" />
17
+ </bean >
18
+
19
+ <jms : listener-container connection-factory =" connectionFactory" >
20
+ <jms : listener destination =" RequestQueue" ref =" messageListener" />
21
+ </jms : listener-container >
22
+
23
+ <bean id =" messageListener" class =" org.springframework.ws.transport.jms.WebServiceMessageListener" >
24
+ <property name =" messageFactory" ref =" messageFactory" />
25
+ <property name =" messageReceiver" ref =" messageReceiver" />
26
+ </bean >
27
+
28
+ </beans >
Original file line number Diff line number Diff line change 161
161
<property name =" order" value =" 2" />
162
162
</bean >
163
163
164
-
165
- <!-- ===================== JMS TRANSPORT ===================================== -->
166
-
167
- <bean id =" broker" class =" org.apache.activemq.broker.BrokerFactory" factory-method =" createBroker"
168
- init-method =" start" >
169
- <constructor-arg value =" broker:tcp://localhost:61616?persistent=false" />
170
- </bean >
171
-
172
- <bean id =" connectionFactory" class =" org.apache.activemq.ActiveMQConnectionFactory" >
173
- <property name =" brokerURL" value =" tcp://localhost:61616" />
174
- </bean >
175
-
176
- <bean class =" org.springframework.jms.listener.DefaultMessageListenerContainer" >
177
- <property name =" connectionFactory" ref =" connectionFactory" />
178
- <property name =" destinationName" value =" RequestQueue" />
179
- <property name =" messageListener" >
180
- <bean class =" org.springframework.ws.transport.jms.WebServiceMessageListener" >
181
- <property name =" messageFactory" ref =" messageFactory" />
182
- <property name =" messageReceiver" ref =" messageReceiver" />
183
- </bean >
184
- </property >
185
- </bean >
186
-
187
164
</beans >
Original file line number Diff line number Diff line change 12
12
classpath:org/springframework/ws/samples/airline/service/applicationContext.xml
13
13
classpath:org/springframework/ws/samples/airline/security/applicationContext-security.xml
14
14
classpath:org/springframework/ws/samples/airline/ws/applicationContext-ws.xml
15
+ classpath:org/springframework/ws/samples/airline/jms/applicationContext-jms.xml
15
16
</param-value >
16
17
</context-param >
17
18
<listener >
You can’t perform that action at this time.
0 commit comments