If I setup a File poller such as the following example:
Is there anything built into Spring Integration which I can leverage for the unusual case that the file poller may stop actually polling?Code:<file:inbound-channel-adapter id="fileInput" directory="${folder.location}"> <int:poller> <int:interval-trigger interval="${poll.interval}"/> </int:poller> </file:inbound-channel-adapter>
Basically I need to be able to issue an email or submit a ticket to an internal ticketing system in case the file poller fails. However being new to Spring Integration I have no idea if there is already a solution for this?
Any suggestions would be most appreciated!


Reply With Quote
oller . . . . error-channel="myErrorChannel"/>