简体   繁体   English

WSO2 API管理器从出序列触发故障序列

[英]WSO2 API Manager Trigger Fault Sequence from Out Sequence

is it possible manually trigger Fault Sequence from Out Sequence based on endpoint's response message? 是否可以根据端点的响应消息从出序列中手动触发故障序列? if so, can anyone point me how to do it? 如果是这样,谁能指出我该怎么做?

if it isn't, what is the proper way to make wso2 api manager treat unsuccessful endpoint's business process as fault so that in the statistic, it will not be counted as successful api call 如果不是,那么使wso2 api管理器将不成功的端点的业务流程视为错误的正确方法是什么,以便在统计信息中将其不视为成功的api调用

thank you 谢谢

Yes.You can use sequence mediator to call a sequence even the fault sequence. 是的。您可以使用序列介体来调用序列,甚至可以调用故障序列。 Eg: 例如:

 <outSequence>
     <sequence key="fault"/>
     <send/>
  </outSequence>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM