how to make until successful as synchronous to retry mechanism for FTP Outbound in mule 3.4.2

谁说我不能喝 提交于 2019-12-20 06:39:09

问题


I used retry mechanism for outbound FTP by using Untill successful. It is working fine but it is working as asynchronously in mule 3.4.2.I have seen synchronous option is avaliable in 3.5. is it possible to make untill successful scope working as synchronous in 3.4.2 version? if possible could u please provide me the solution? or else any other solution to use retry mechanism for outbound FTP?

<until-successful objectStore-ref="objectStore" maxRetries="3" secondsBetweenRetries="1" doc:name="Until Successful">
    <ftp:outbound-endpoint host="10.10.10.10" port="7055" path="#[flowVars.FTPConfig.getPath()]" user="user" password="password" outputPattern="${filename}" responseTimeout="20000" doc:name="FTP" connector-ref="FTP"/>
</until-successful>

回答1:


No, it is not possible to make until-successful synchronous in Mule 3.4. You need to upgrade to version 3.5, or even 3.6 which is available at this writing.

Alternatively, you could remove until-successful and use an inbound VM or JMS endpoint with transactional delivery to perform retries on the outbound FTP endpoint.



来源:https://stackoverflow.com/questions/30661113/how-to-make-until-successful-as-synchronous-to-retry-mechanism-for-ftp-outbound

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