cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to remove OOTB hot folder configuration for electronics and apparel store

Former Member
0 Kudos
553

Hi , I want to remove hot folder configuration for apparel and electronics store. How can I do this?

Please look at the image attached ..

Thanks in advance.

Accepted Solutions (0)

Answers (3)

Answers (3)

geffchang
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks for your answer .. But I just want to disable all hotfolder config for apparel and electronics store xml . These xml are in the yacceleratorcore extension and not possible to change.

Your example is just for custom hotfolder xml.

Former Member
0 Kudos

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)

geffchang
Active Contributor
0 Kudos

I think you can simply comment them out. That way, the beans for hotfolder will not be registered, and hotfolder will not work.

Former Member
0 Kudos

Thank you for your answers. As you know this xml file comes from OTTB and not possible to change this file. Because we don't push this file to our repository.