I am getting a file in particular directory from a system know by inbound adaptor i will put it into a channel and want to delete that file from that directory.
Is there exist something like that in spring integration.

Although in file outbound adaptor there exist a atttibute to delete source file but i am not getting file from outboud adaptor.I want to delete file from
C:\\Documents and Settings\\510122\\workspace\\OdsBatch\\Abnitio directory on putting to reply-file-channel.

in upper directory i am getting file from some other system.

<file:inbound-channel-adapter
directory="C:\\Documents and Settings\\510122\\workspace\\OdsBatch\\Abnitio"
id="file-picker" channel="reply-file-channel" >

</file:inbound-channel-adapter>