<flow name="flow1">
<http:outbound-endpoint exchange-pattern="request-response" address="http://localhost:8080/HealthInsurance/save" method="POST" doc:name="HTTP" />
</flow
<flow name="flow2">
<http:outbound-endpoint exchange-pattern="request-response" address="http://localhost:8080/HealthInsurance/list" method="POST" doc:name="HTTP" />
</flow我在骡子里流淌着。Flow1成功的响应意味着调用flow2,否则在flow1中的任何异常都意味着不需要调用flow2。这一点非常重要。有人知道我的要求吗?
发布于 2015-05-08 07:20:20
因为您在flow1中使用HTTP出站。当http响应状态是200时,您可以调用flow2,如下所示:- <when expression="#[message.inboundProperties['http.status'] == '200']">
Mule - unable to route message based on http.status
。。并且可以使用异常策略记录异常。
https://stackoverflow.com/questions/30117682
复制相似问题