With debugging mediation, we will be able to debug our service code as we usually do with our Java applications, for instance. In this case, this feature allows us to check how the message is being changed after every step that happens inside our service. Thus, we can see how an operation performed by a mediator modifies the message.
To enable debugging mediation, you have to follow these steps:
- In the WSO2EI Tooling top menu, click on Run | Debug Configurations.
- Double-click on ESB Mediation Debugger, and a new configuration window will show.
- We keep the default values, except for the following:
- Name: A name for the configuration; for instance, WSO2EIDebugging
- Serverhost: The host in which we will perform the debugging; ...