- 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
推薦閱讀
- 小程序實戰視頻課:微信小程序開發全案精講
- 騰訊iOS測試實踐
- C# Programming Cookbook
- 精通軟件性能測試與LoadRunner實戰(第2版)
- Java 11 Cookbook
- 信息技術應用基礎
- 0 bug:C/C++商用工程之道
- Java語言程序設計教程
- Microsoft 365 Certified Fundamentals MS-900 Exam Guide
- PHP 7從零基礎到項目實戰
- 零基礎看圖學ScratchJr:少兒趣味編程(全彩大字版)
- C語言程序設計與應用實驗指導書(第2版)
- 小學生C++趣味編程從入門到精通
- Getting Started with RethinkDB
- Java Web應用開發