Permalink
Browse files

INTTEMPLATES-2 - Add resolution-required attribute

For reference see: https://jira.springsource.org/browse/INTTEMPLATES-2

* add **resolution-required**='false' to Header Value Router of file template
* add **max-messages-per-poll**="10" as if not set the maxMessagesPerPoll property defaults to "1" as per the **SourcePollingChannelAdapterFactoryBean**
  • Loading branch information...
Gunnar Hillert authored and garyrussell committed Mar 13, 2012
1 parent a6e5e12 commit 9d49943a660ec5094aebec856255b21844f02fde
@@ -14,7 +14,7 @@
http://static.springsource.org/spring-integration/reference/htmlsingle/#channel-adapter
http://www.eaipatterns.com/ChannelAdapter.html -->
<int-file:inbound-channel-adapter id="filesIn" directory="file:input" >
- <int:poller id="poller" fixed-rate="5000"/>
+ <int:poller id="poller" fixed-rate="5000" max-messages-per-poll="10"/>
</int-file:inbound-channel-adapter>
<!-- See also:
@@ -41,6 +41,7 @@
<int:header-value-router id="fileTypeRouter"
header-name="file_extension"
input-channel="routingChannel"
+ resolution-required="false"
default-output-channel="otherFilesOut">
<int:mapping value="csv" channel="csvFilesOut"/>
<int:mapping value="xml" channel="xmlFilesOut"/>

0 comments on commit 9d49943

Please sign in to comment.