spring integration - How to dynamically change polling remote dir in sftp inbound channel adapter -
is way dynamically poll file on dynamic remote dir our remote loc changes everyday?
we using spring integration 4.1
not currently; wiring inbound adapter manually; need beans sftpinboundfilesynchronizer, sftpinboundfilesynchronizingmessagesource (which gets reference synchronizer) , sourcepollingchanneladapter (which gets source).
then, can call setremotedirectory on synchronizer , next poll use new directory.
i have created jira issue add feature in 4.2.
Comments
Post a Comment