Is it possible to set/update the directory on a file inbound-channel-adapter? For example, allowing a user to change the 'inbound directory' through some UI and then updating the adapter on-the-fly to reflect this change?
I know that the directory can be specified within the application context (as well as externalized to a properties file, etc.), but is there any way to change the directory value after it has been initialized? Or would we have to update the property and then refresh the context?
Thanks in advance.
<file:inbound-channel-adapter id="inboundAdapter" directory="/some/directory" auto-create-directory="true" filename-regex=".*\.csv">
<int:poller cron="0 * * * * ?" max-messages-per-poll="5" />