【发布时间】:2015-04-17 00:43:29
【问题描述】:
我观察到,Mule WEBservice 消费者<ws:consumer/> 没有重新连接策略。
当我在 Web 服务中发现套接字超时异常时,我需要做的就是重试 3 次。
我一直使用到成功。但它不做重试。请提出任何想法,为什么在成功之前仅对 Web 服务消费者不起作用。
已观察到,似乎是一直跳到成功。是否存在其他方法,以便我可以为 web 服务使用者重试。
<logger message="***Process*****MessageId:#[message.rootId]***No:#[flowVars.Id]***" level="INFO" doc:name="Logger"/>
<until-successful objectStore-ref="objectStore" maxRetries="5" millisBetweenRetries="20000" failureExpression="#[exception != null && ( exception.causedBy(java.net.ConnectException) || exception.causedBy(java.net.SocketTimeoutException)) || message.inboundProperties['http.status'] ==503]" doc:name="Until Successful">
<ws:consumer config-ref="Web_Service_Consumer_customer" operation="CreatePdt" doc:name="Create product"/>
</until-successful>
能否请任何人帮助我。在此先感谢。
【问题讨论】:
标签: mule mule-studio mule-component