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

Cloud Hot Folders

Former Member
0 Kudos
6,466

Good morning experts, I need an help about the cloud hot-folders. The wiki suggests to add the azurecloudhotfolder extension to your Build Manifest. This extension automatically enables all other dependent extensions.

In the local environment I can't find the azurecloudhotfolder extension to add in the localextensions.xml, so this likely give me an exception when I start the server on the bean hotfolderInboundFileChannelMappings not found. Any tips?

Thanks

View Entire Topic
Private_Member_63124
Participant
0 Kudos

Have you added this code in hot-folder-spring.xml ?

 <bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
     <property name="targetObject" ref="hotfolderInboundFileChannelMappings"/>
     <property name="targetMethod" value="put"/>
     <property name="arguments">
         <list>
             <bean class="java.util.regex.Pattern" factory-method="compile">
                 <constructor-arg value="^yourHotFolderPattern.*" />
             </bean>
             <ref bean="yourHotFolderChannel"/>               
         </list>
     </property>
 </bean>
kuberpant1
Explorer
0 Kudos

Hi Pablo,

When we add this code in hot-folder.xml server start up is failing because 'hotfolderInboundFileChannelMappings' is not available.

Cloud Hot folder import is working fine for us but if we do any customisation by adding new bean definitions the import doesn't work. Do you know any limitation with the cloud hot folder import where the import doesn't work with any new bean definitions?

Cheers