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

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
主站蜘蛛池模板: 湘潭县| 芦溪县| 长白| 尚志市| 杭锦旗| 塘沽区| 育儿| 手游| 新邵县| 罗城| 武陟县| 阳泉市| 咸丰县| 东光县| 湘乡市| 岳池县| 柳河县| 会理县| 玉山县| 青河县| 方城县| 满城县| 富锦市| 隆安县| 葵青区| 大兴区| 富裕县| 南阳市| 大邑县| 偏关县| 随州市| 揭阳市| 巴青县| 民权县| 桐柏县| 铜山县| 乐亭县| 贵南县| 常宁市| 吴江市| 宽城|