how to make until successful as synchronous to ret

2019-03-05 02:08发布

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条回答
该账号已被封号
2楼-- · 2019-03-05 02:35

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.

查看更多
登录 后发表回答