Book Image

WSO2 Developer's Guide

By : Ramón Garrido, Fidel Prieto Estrada
Book Image

WSO2 Developer's Guide

By: Ramón Garrido, Fidel Prieto Estrada

Overview of this book

WSO2 Enterprise Integrator brings together the most powerful servers provided by the WSO2 company for your SOA infrastructure. As an Enterprise Service Bus (ESB), WSO2 Enterprise Integrator provides greater flexibility and agility to meet growing enterprise demands, whereas, as a Data Services Server (DSS), it provides an easy-to-use platform for integrating data stores, creating composite views across different data sources, and hosting data services. Using real-world scenarios, this book helps you build a solid foundation in developing enterprise applications with powerful data integration capabilities using the WSO2 servers. The book gets you started by brushing up your knowledge about SOA architecture and how it can be implemented through WSO2. It will help build your expertise with the core concepts of ESB such as building proxies, sequences, endpoints, and how to work with these in WSO2. Going further, you will also get well-acquainted with DSS data service concepts such as configuring data services, tasks, events, testing, and much more. The book will also cover API management techniques. Along with ESB and DSS, you will also learn about business process servers, the rules server and other components that together provide the control and robustness your enterprise applications will need. With practical use cases, the book covers typical daily scenarios you will come across while using these servers to give you hands-on experience.
Table of Contents (14 chapters)

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:

  1. In the WSO2EI Tooling top menu, click on Run | Debug Configurations.
  2. Double-click on ESB Mediation Debugger, and a new configuration window will show.
  3. 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 on Debug yet, we remain in this screen. We have to wait for a special event during...