Fix FileProcessingTest configs

`Caused by: org.springframework.integration.MessageDispatchingException: Dispatcher has no subscribers`
This commit is contained in:
Artem Bilan
2014-05-29 09:28:34 +03:00
parent 3b12f7eada
commit 95d8fc7d99
2 changed files with 18 additions and 16 deletions

View File

@@ -9,19 +9,20 @@
xmlns:int-file="http://www.springframework.org/schema/integration/file"
xmlns:task="http://www.springframework.org/schema/task">
<int-file:inbound-channel-adapter id="filesInChannel"
directory="file:input">
<int:poller id="poller" fixed-rate="10" task-executor="executor"/>
</int-file:inbound-channel-adapter>
<int:service-activator input-channel="filesInChannel" output-channel="filesOutChannel">
<bean class="org.springframework.integration.samples.fileprocessing.FileProcessor"/>
</int:service-activator>
<int-file:inbound-channel-adapter id="filesInChannel"
directory="file:input">
<int:poller id="poller" fixed-rate="100" task-executor="executor"/>
</int-file:inbound-channel-adapter>
<int:channel id="filesOutChannel">
<int:queue/>
</int:channel>
<task:executor id="executor" pool-size="10"/>
</beans>

View File

@@ -9,18 +9,19 @@
xmlns:int-file="http://www.springframework.org/schema/integration/file"
xmlns:task="http://www.springframework.org/schema/task">
<int-file:inbound-channel-adapter id="filesInChannel"
directory="file:input">
<int:poller id="poller" fixed-rate="10"/>
</int-file:inbound-channel-adapter>
<int:service-activator input-channel="filesInChannel" output-channel="filesOutChannel">
<bean class="org.springframework.integration.samples.fileprocessing.FileProcessor"/>
</int:service-activator>
<int-file:inbound-channel-adapter id="filesInChannel"
directory="file:input">
<int:poller id="poller" fixed-rate="100"/>
</int-file:inbound-channel-adapter>
<int:channel id="filesOutChannel">
<int:queue/>
</int:channel>
</beans>