SAP Knowledge Base Article - Preview

3201105 - Cloud hotfoder file not moved to archive folder after being processed

Symptom

File uploaded to Cloud Hot Folder found not moved to archive folder as it defined in spring configuration.

Here is a snippet of hot folder spring configuration file Hot-folder-customer-testing-spring.xml.

<bean id="baseDirectoryTestingOrders" class="java.lang.String">
  <constructor-arg value="#{configurationService.configuration.getProperty('CTxxxx.hotfolder.Testing.Orderfolder')}" />
 </bean>

 <int:transaction-synchronization-factory id="azureSynchronizationFactoryTestingOrders">
  <int:after-commit channel="azureArchiveOutboundChannelAdapterTestingOrders"/>
  <int:after-rollback channel="azureErrorOutboundChannelAdapterTestingOrders"/>
 </int:transaction-synchronization-factory>

 <int:outbound-channel-adapter id="azureArchiveOutboundChannelAdapterTestingOrders"
          ref="azureArchiveMessageHandlerTestingOrders"/>

 <int:outbound-channel-adapter id="azureErrorOutboundChannelAdapterTestingOrders"
          ref="azureErrorMessageHandlerTestingOrders"/>

 <!-- Azure message handler for moving remote files into archive/error folders -->
 <bean id="azureArchiveMessageHandlerTestingOrders" parent="abstractAzureMoveMessageHandler">
  <property name="remoteDirectory" value="#{baseDirectoryTestingOrders}/archive"/>
 </bean>

 <bean id="azureErrorMessageHandlerTestingOrders" parent="abstractAzureMoveMessageHandler">
  <property name="remoteDirectory" value="#{baseDirectoryTestingOrders}/error"/>
 </bean>

property 'CTxxxx.hotfolder.Testing.Orderfolder':

CTxxxx.hotfolder.Testing.Orderfolder=transfer/incoming/xxxxx/xxxxxx/TestinglineItemCharge

File uploaded to folder 'transfer/incoming/dexxxx/Orders/TestinglineItemCharge' got processed successfully, but did not moved to archive folder: "#{baseDirectoryTestingOrders}/archive".

***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.***


Read more...

Environment

SAP Commerce Cloud

Product

SAP Commerce Cloud all versions

Keywords

hot folder, archive , KBA , CEC-SCC-CLA-ENV-CST , Cloud Storage , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.