如何调用 mule 中一个流的其他基于流的成功

how to invoke other flow based success of one flow in mule

   <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

我在 mule 中有以上流量。 Flow1成功响应意味着调用flow2,否则flow1有任何异常意味着不需要调用flow2。这个很重要。有人知道我的要求吗?

由于您在 flow1.. 中使用 HTTP 出站,您可以在 http 响应 时调用 flow2 status200 这样的成功:- <when expression="#[message.inboundProperties['http.status'] == '200']">

..你可以使用异常策略来记录异常