Skip to Content
1
Former Member
Aug 20, 2014 at 03:39 PM

ImpexMedia removeOnSuccess does not remove impex backups

411 Views

Hi,

I have the necessity to perform a lot of impex imports via the hot folder integration already provided in hybris.

Now, for each of these files, a backup is generated under the folder $HYBRIS_DATA/media/sys_master/impex. This means that since I have a lot of imports that run every couple of seconds, the available space of the disk is saturated quickly.

I have seen an attribute on the ImpexMedia model called "removeOnSuccess". This attribute is set to "false" even if I set it to true in my ImpexConfig definition:

 <bean id="importConfig" class="de.hybris.platform.servicelayer.impex.ImportConfig" scope="prototype">
     <property name="removeOnSuccess" value="true" />
     <property name="failOnError" value="false" />
     <property name="synchronous" value="true" />
     <property name="legacyMode" value="true" />
     <property name="maxThreads" value="6" />
     <property name="locale" value="en"/>
 </bean>

Is this correct? Does the "removeOnSuccess" property on the ImportConfig bean do what I am expecting it to do?