on 2019 May 17 3:45 PM
Request clarification before answering.
From "2171607 - Disable Hot folder in cluster mode": https://launchpad.support.sap.com/#/notes/0002171607
Take electronic store for example:
1 In hot-folder-store-electronics-spring.xml add auto-startup attribute:
<file:inbound-channel-adapter id="batchFilesElectronics" directory="#{baseDirectoryElectronics}" filename-regex="^(.*)-(\d+)\.csv" comparator="fileOrderComparator" auto-startup="#{configurationService.configuration.getProperty('electronic.hotfolder.configuration.enabled')}">
<int:poller fixed-rate="1000" />
</file:inbound-channel-adapter>
2 in local.properties add property: electronic.hotfolder.configuration.enabled
#Set it to false if disable the hot folder scanning. Otherwise set it to true
electronic.hotfolder.configuration.enabled=false
3 ant build and restart the server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you can remove or override it with "customize" folder that gives us possibilities to patch or change OOTB files with "ant customize" target (see additional information about it on wiki)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you can simply comment them out. That way, the beans for hotfolder will not be registered, and hotfolder will not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.