Spring Integration, delete file in outbound channel adapter
问题 I am using Spring Integration to poll a directory for a File, process this file in a service class, write this file to an output directory and then delete the original file. I have the following XML configuration: <int-file:inbound-channel-adapter id="filesInChannel" directory="file:${java.io.tmpdir}/input" auto-create-directory="true" > <int:poller id="poller" fixed-delay="1000" /> </int-file:inbound-channel-adapter> <int:service-activator id="servicActivator" input-channel="filesInChannel"