官术网_书友最值得收藏!

The fault sequence

The fault sequence is used for exception handling when we haven't configured a custom fault sequence. This sequence logs the error code and the current payload, and then the message is dropped:

<?xml version="1.0" encoding="UTF-8"?>
<sequence name="fault" xmlns="http://ws.apache.org/ns/synapse">
<!-- Log the message at the full log level with
the ERROR_MESSAGE and the ERROR_CODE-->
<log level="full">
<property name="MESSAGE"
value="Executing default 'fault' sequence"/>
<property name="ERROR_CODE"
expression="get-property('ERROR_CODE')"/>
<property name="ERROR_MESSAGE"
expression="get-property('ERROR_MESSAGE')"/>
</log>
<!-- Drops the messages by default if there is a fault -->
<drop/>
</sequence>
主站蜘蛛池模板: 兴国县| 阳江市| 钟山县| 婺源县| 永丰县| 二连浩特市| 萝北县| 天镇县| 芒康县| 调兵山市| 五大连池市| 金门县| 呼图壁县| 郑州市| 青神县| 鄢陵县| 新绛县| 万源市| 房产| 措勤县| 虞城县| 宁陕县| 金川县| 漳浦县| 濮阳市| 绥德县| 太和县| 随州市| 图木舒克市| 广丰县| 姚安县| 呼图壁县| 读书| 广西| 嘉荫县| 南阳市| 厦门市| 乐昌市| 怀集县| 曲松县| 兴宁市|