- 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
推薦閱讀
- Mastering RabbitMQ
- Building a Home Security System with Raspberry Pi
- Boost C++ Application Development Cookbook(Second Edition)
- MATLAB圖像處理超級學習手冊
- 微服務設計原理與架構
- 我的第一本算法書
- 編寫高質量代碼:改善C程序代碼的125個建議
- Linux命令行與shell腳本編程大全(第4版)
- Arduino家居安全系統構建實戰
- Learning Concurrency in Kotlin
- Internet of Things with ESP8266
- 零基礎學Python編程(少兒趣味版)
- Visual FoxPro 6.0程序設計
- Using Yocto Project with BeagleBone Black
- 零基礎學SQL(升級版)