|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <beans xmlns="http://www.springframework.org/schema/beans" |
3 | | - xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xmlns:context="http://www.springframework.org/schema/context" |
5 | | - xmlns:util="http://www.springframework.org/schema/util" |
6 | | - xmlns:int="http://www.springframework.org/schema/integration" |
7 | | - xsi:schemaLocation=" |
8 | | - http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd |
9 | | - http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd |
10 | | - http://www.springframework.org/schema/util https://www.springframework.org/schema/util/spring-util.xsd |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xmlns:int="http://www.springframework.org/schema/integration" |
| 5 | + xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd |
11 | 6 | http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd"> |
12 | 7 |
|
13 | | - <int:channel id="in" /> |
| 8 | + <int:channel id="in"/> |
14 | 9 |
|
15 | 10 | <int:chain input-channel="in" output-channel="out"> |
16 | 11 | <int:filter expression="payload == 'singleAnnotatedMethodOnClass'" throw-exception-on-rejection="true"/> |
17 | | - <int:service-activator ref="singleAnnotatedMethodOnClass" /> |
| 12 | + <int:service-activator ref="singleAnnotatedMethodOnClass"/> |
18 | 13 | </int:chain> |
19 | 14 |
|
20 | 15 | <bean id="singleAnnotatedMethodOnClass" class="org.mockito.Mockito" |
21 | | - factory-method="mock"> |
| 16 | + factory-method="mock"> |
22 | 17 | <constructor-arg |
23 | | - value="org.springframework.integration.handler.ServiceActivatorOnMockitoMockTests.SingleAnnotatedMethodOnClass" /> |
| 18 | + value="org.springframework.integration.handler.ServiceActivatorOnMockitoMockTests.SingleAnnotatedMethodOnClass" |
| 19 | + type="java.lang.Class"/> |
24 | 20 | </bean> |
25 | 21 |
|
26 | 22 | <int:chain input-channel="in" output-channel="out"> |
27 | 23 | <int:filter expression="payload == 'SingleMethodOnClass'" throw-exception-on-rejection="true"/> |
28 | | - <int:service-activator ref="singleMethodOnClass" /> |
| 24 | + <int:service-activator ref="singleMethodOnClass"/> |
29 | 25 | </int:chain> |
30 | 26 |
|
31 | 27 | <bean id="singleMethodOnClass" class="org.mockito.Mockito" |
32 | | - factory-method="mock"> |
| 28 | + factory-method="mock"> |
33 | 29 | <constructor-arg |
34 | | - value="org.springframework.integration.handler.ServiceActivatorOnMockitoMockTests.SingleMethodOnClass" |
35 | | - type="java.lang.Class"/> |
| 30 | + value="org.springframework.integration.handler.ServiceActivatorOnMockitoMockTests.SingleMethodOnClass" |
| 31 | + type="java.lang.Class"/> |
36 | 32 | </bean> |
37 | 33 |
|
38 | 34 | <int:chain input-channel="in" output-channel="out"> |
39 | 35 | <int:filter expression="payload == 'SingleMethodAcceptingHeaderOnClass'" throw-exception-on-rejection="true"/> |
40 | | - <int:service-activator ref="singleMethodAcceptingHeaderOnClass" /> |
| 36 | + <int:service-activator ref="singleMethodAcceptingHeaderOnClass"/> |
41 | 37 | </int:chain> |
42 | 38 |
|
43 | 39 | <bean id="singleMethodAcceptingHeaderOnClass" class="org.mockito.Mockito" |
44 | | - factory-method="mock"> |
| 40 | + factory-method="mock"> |
45 | 41 | <constructor-arg |
46 | | - value="org.springframework.integration.handler.ServiceActivatorOnMockitoMockTests.SingleMethodAcceptingHeaderOnClass" |
47 | | - type="java.lang.Class"/> |
| 42 | + value="org.springframework.integration.handler.ServiceActivatorOnMockitoMockTests.SingleMethodAcceptingHeaderOnClass" |
| 43 | + type="java.lang.Class"/> |
48 | 44 | </bean> |
49 | 45 |
|
50 | 46 | <int:channel id="out"> |
51 | | - <int:queue capacity="10" /> |
| 47 | + <int:queue capacity="10"/> |
52 | 48 | </int:channel> |
53 | 49 |
|
54 | 50 | </beans> |
0 commit comments