如何在Mule 3.4.2中成功使FTP Outbound成为同步重试机制 [英] how to make until successful as synchronous to retry mechanism for FTP Outbound in mule 3.4.2

查看:117
本文介绍了如何在Mule 3.4.2中成功使FTP Outbound成为同步重试机制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过使用直到成功才对出站FTP使用了重试机制.它工作正常,但在3.4.2中是异步工作的.我已经看到3.5中提供了同步选项.是否有可能使成功的示波器在3.4.2版本中同步工作?如果可以的话,请您提供解决方案?还是其他任何方法可以对出站FTP使用重试机制?

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>

推荐答案

否,无法在Mule 3.4中使until-successful同步.您需要升级到版本3.5甚至是3.6,在撰写本文时都可以使用.

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.

或者,您可以删除until-successful并使用具有事务传递功能的入站VM或JMS端点对出站FTP端点执行重试.

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.

这篇关于如何在Mule 3.4.2中成功使FTP Outbound成为同步重试机制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆