startOnLoad is not working as expeceted

百般思念 提交于 2019-12-11 00:34:35

问题


I have created VFS based proxy service as below but property startOnLoad="false" is not working as expected. Even after the deployment of the proxy, we need to manually click Activate and then click disable to permanently disable VFX proxy.

But the proxy status show as disabled but the proxy is still polling FTP server in the back end. We need to manually activate and disable the proxy to permanently disable it.

Is there anyone faced this problem earlier and any fix for it. This issue is in WSO2 ESB 5.0

Below is my proxy configuration

<proxy name="MFTProxy" startOnLoad="true" trace="disable" transports="vfs" xmlns="ws.apache.org/ns/synapse">
<parameter name="transport.vfs.FileProcessCount">1</parameter>
<parameter name="transport.vfs.ActionAfterProcess">NONE</parameter> 
<parameter name="transport.PollInterval">60</parameter> 
<parameter name="transport.vfs.SFTPUserDirIsRoot">false</parameter> 
<parameter name="transport.vfs.FileURI">vfs:sftp://XXXXXXX:password@hos‌​t/outbox</parameter>
<parameter name="transport.vfs.Locking">disable</parameter>
</proxy>

来源:https://stackoverflow.com/questions/46353468/startonload-is-not-working-as-expeceted

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!