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

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>
主站蜘蛛池模板: 崇信县| 靖宇县| 上林县| 东莞市| 大姚县| 台中市| 邛崃市| 黔西| 景德镇市| 永定县| 汽车| 酉阳| 镇远县| 筠连县| 论坛| 鹰潭市| 清水县| 阳春市| 贺兰县| 潞城市| 泰安市| 乡城县| 靖西县| 蓝田县| 沈丘县| 鄄城县| 九龙坡区| 太康县| 寿宁县| 嘉峪关市| 山阳县| 广宗县| 孝义市| 孟州市| 平凉市| 文水县| 乌鲁木齐县| 武功县| 衡水市| 柘荣县| 沅江市|