spring integration - Custom directory scanner for sftp-inbound-channel-adapter -


our application reading , writing files ftp folder directory structure {date}/{usercode}/*. trying use sftp inbound adapter.

<int-sftp:inbound-channel-adapter         id="sftpinboundadapter"         channel="filesin"         filename-pattern="*.xml"         session-factory="sftpsessionfactory"         remote-directory="file:${fileserver.input.path}"         local-directory="file:${fileserver.output.path}"         delete-remote-files="false" </int-sftp:inbound-channel-adapter> 

is there way set custom directory scanner sftp inbound adapter?

using custom scanner not supported.

as work-around, can set ouput-channel "nullchannel" , configure separate <int-file:inbound-channel-adapter/> custom scanner.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -