|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <beans xmlns="http://www.springframework.org/schema/beans" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xmlns:p="http://www.springframework.org/schema/p" |
5 | | - xmlns:int="http://www.springframework.org/schema/integration" |
6 | | - xmlns:int-smb="http://www.springframework.org/schema/integration/smb" |
7 | | - xsi:schemaLocation="http://www.springframework.org/schema/beans |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xmlns:int="http://www.springframework.org/schema/integration" |
| 5 | + xmlns:int-smb="http://www.springframework.org/schema/integration/smb" |
| 6 | + xsi:schemaLocation="http://www.springframework.org/schema/beans |
8 | 7 | http://www.springframework.org/schema/beans/spring-beans.xsd |
9 | 8 | http://www.springframework.org/schema/integration |
10 | 9 | http://www.springframework.org/schema/integration/spring-integration.xsd |
11 | 10 | http://www.springframework.org/schema/integration/smb |
12 | 11 | http://www.springframework.org/schema/integration/smb/spring-integration-smb.xsd"> |
13 | 12 |
|
14 | 13 | <bean id="smbSessionFactory" |
15 | | - class="org.springframework.integration.smb.config.SmbInboundChannelAdapterParserTests.TestSessionFactoryBean"/> |
| 14 | + class="org.springframework.integration.smb.config.SmbInboundChannelAdapterParserTests.TestSessionFactoryBean"/> |
| 15 | + |
| 16 | + <bean id="acceptAllFilter" class="org.springframework.integration.file.filters.AcceptAllFileListFilter"/> |
16 | 17 |
|
17 | 18 | <int-smb:inbound-channel-adapter id="smbInbound" |
18 | | - channel="smbChannel" |
19 | | - session-factory="smbSessionFactory" |
20 | | - charset="UTF-8" |
21 | | - auto-create-local-directory="true" |
22 | | - delete-remote-files="true" |
23 | | - filename-pattern="*.txt" |
24 | | - local-directory="file:test-temp/local-1" |
25 | | - remote-file-separator="" |
26 | | - comparator="comparator" |
27 | | - temporary-file-suffix=".working.tmp" |
28 | | - remote-directory="test-temp/remote-1"> |
| 19 | + auto-startup="false" |
| 20 | + channel="smbChannel" |
| 21 | + session-factory="smbSessionFactory" |
| 22 | + charset="UTF-8" |
| 23 | + auto-create-local-directory="true" |
| 24 | + delete-remote-files="true" |
| 25 | + filename-pattern="*.txt" |
| 26 | + local-filter="acceptAllFilter" |
| 27 | + local-directory="file:test-temp/local-1" |
| 28 | + remote-file-separator="" |
| 29 | + comparator="comparator" |
| 30 | + temporary-file-suffix=".working.tmp" |
| 31 | + remote-directory="test-temp/remote-1"> |
29 | 32 | </int-smb:inbound-channel-adapter> |
30 | 33 |
|
31 | 34 | <bean id="comparator" class="org.mockito.Mockito" factory-method="mock"> |
32 | 35 | <constructor-arg value="java.util.Comparator"/> |
33 | 36 | </bean> |
34 | 37 |
|
35 | 38 | <int-smb:inbound-channel-adapter |
36 | | - channel="smbChannel" |
37 | | - session-factory="smbSessionFactory" |
38 | | - charset="UTF-8" |
39 | | - auto-create-local-directory="true" |
40 | | - delete-remote-files="true" |
41 | | - filter="entryListFilter" |
42 | | - local-directory="file:test-temp/local-2" |
43 | | - remote-directory="test-temp/remote-2"> |
| 39 | + channel="smbChannel" |
| 40 | + auto-startup="false" |
| 41 | + session-factory="smbSessionFactory" |
| 42 | + charset="UTF-8" |
| 43 | + auto-create-local-directory="true" |
| 44 | + delete-remote-files="true" |
| 45 | + filter="entryListFilter" |
| 46 | + local-directory="file:test-temp/local-2" |
| 47 | + remote-directory="test-temp/remote-2"> |
44 | 48 | </int-smb:inbound-channel-adapter> |
45 | 49 |
|
46 | 50 | <int-smb:inbound-channel-adapter id="simpleAdapter" |
47 | | - channel="smbChannel" |
48 | | - session-factory="smbSessionFactory" |
49 | | - local-directory="file:test-temp/local-3" |
50 | | - remote-directory="test-temp/remote-3"> |
| 51 | + channel="smbChannel" |
| 52 | + auto-startup="false" |
| 53 | + session-factory="smbSessionFactory" |
| 54 | + local-directory="file:test-temp/local-3" |
| 55 | + remote-directory="test-temp/remote-3"> |
51 | 56 | </int-smb:inbound-channel-adapter> |
52 | 57 |
|
53 | 58 | <int:channel id="smbChannel"> |
|
0 commit comments