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

A custom sequence

The two previous sequences are defined by default in the Enterprise Integrator, but we can create the custom sequences that we need. The principal idea of a sequence is that it needs to be as generic as possible, because every sequence can be used by different services, no matter whether they are SOAP or REST, Proxy, or API.

Here's the syntax:

<sequence name="string" [onError="string"] [key="string"] [trace="enable"] [statistics="enable"]>
    mediator*
</sequence>
  • The onError attribute sets the sequence that will be triggered when there's a problem during the processing of the sequence, instead of using the default fault sequence
  • statistics enable or disable the statistics collection to track the number of messages processed and the processing times
  • trace enables or disables the trace collection in which the messages will write tracing information through each mediation step
主站蜘蛛池模板: 合作市| 南雄市| 中卫市| 西乡县| 鹤庆县| 响水县| 突泉县| 丹巴县| 明溪县| 乌什县| 乌兰浩特市| 大城县| 隆安县| 崇文区| 平顶山市| 鄂托克旗| 南康市| 响水县| 巩义市| 正宁县| 黔东| 承德市| 阿坝县| 永平县| 寿阳县| 丰县| 邵东县| 呈贡县| 白玉县| 黄平县| 天全县| 定边县| 安远县| 济宁市| 惠东县| 武鸣县| 汉寿县| 虞城县| 潜山县| 民和| 论坛|