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

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
主站蜘蛛池模板: 曲沃县| 新营市| 克拉玛依市| 广灵县| 蒲江县| 南和县| 阿尔山市| 日照市| 电白县| 彭阳县| 恭城| 繁昌县| 黎平县| 河间市| 南丹县| 眉山市| 长子县| 临汾市| 四子王旗| 昌平区| 航空| 安塞县| 连州市| 东山县| 尚义县| 五指山市| 无棣县| 东乌珠穆沁旗| 枣强县| 湖南省| 百色市| 临澧县| 大名县| 雷波县| 永和县| 茌平县| 都匀市| 屯留县| 马鞍山市| 江达县| 邢台市|