...
Code Block | ||
---|---|---|
| ||
<api name="API_1" context="/order"> <resource url-mapping="/list" inSequence="seq1" outSequence="seq2"/> </api> |
Once a r//equest request is dispatched to a resource it will be mediated through the in-sequence of the resource. At the end of the in-sequence the request can be forwarded to a back-end application for further processing. Any responses coming from the back-end system are mediated through the out-sequence of the resource. You can also define a fault-sequence to handle any errors that may occur while mediating a message through a resource.
...