Hello,
Is there a way to configure a file inbound-channel-adapter to read a file whenever it is updated?
I have a folder where the same filename can be used and every time it is updated the inbound-channel has to pick it up and process it.
I have tried AcceptOnceFileListFilter but I believe if the filename goes into its queue it will be ignored at the next poll.
I'm new to Spring, any help would be appreciated. Below is a snippet of my AC config.
I have found another thread which answers my question: http://forum.springsource.org/showth...-file-contentsCode:<file:inbound-channel-adapter channel="input" id="fileIn" directory="file:D:\\homes\\input" filename-pattern="^[A-Za-z0-9-]*\.csv$" auto-startup="true"> <integration:poller> <integration:interval-trigger interval="5" time-unit="SECONDS"/> </integration:poller> </file:inbound-channel-adapter>
I thought there is a way to do this with the spring-integration-file config options.
Is there a way to remove this thread?


Reply With Quote
