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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -