- WSO2 Developer’s Guide
- Fidel Prieto Estrada Ramón Garrido Lázaro
- 129字
- 2021-07-08 10:06:01
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
推薦閱讀
- Beginning C++ Game Programming
- R語言經典實例(原書第2版)
- Instant Zepto.js
- NumPy Essentials
- 軟件品質之完美管理:實戰經典
- ASP.NET Core 2 Fundamentals
- Kotlin編程實戰:創建優雅、富于表現力和高性能的JVM與Android應用程序
- Unity 2018 Shaders and Effects Cookbook
- Android移動開發案例教程:基于Android Studio開發環境
- Developing SSRS Reports for Dynamics AX
- Orleans:構建高性能分布式Actor服務
- Bootstrap for Rails
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- JavaScript編程精解(原書第2版)
- Java高級程序設計