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

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
主站蜘蛛池模板: 巍山| 泽库县| 澜沧| 巍山| 临沂市| 彰武县| 黎平县| 三明市| 迁安市| 红河县| 洪泽县| 盐津县| 秦皇岛市| 西昌市| 光山县| 绥芬河市| 随州市| 同德县| 荃湾区| 沧州市| 柳林县| 瑞金市| 谷城县| 金沙县| 靖边县| 石河子市| 达尔| 伽师县| 湖口县| 顺昌县| 德兴市| 嘉定区| 游戏| 乌苏市| 宜君县| 芮城县| 宜兰市| 榕江县| 新密市| 桓台县| 凉山|