Debugging mediation
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; in this case,localhost
Note that we do not click onDebug
yet, we remain in this screen. We have to wait for a special event during WOS2EI start up to press the debug button.
- Now we will start the WSO2EI in debug mode. For this purpose, we will start the server...