on 2018 Oct 09 12:14 PM
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
Request clarification before answering.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.