Chapter 5. Working with messages
In this chapter:
- Using routing
- Implementing validation
- Transforming messages
As an open source ESB developer, you are dealing with messages in all kinds of different ways. For messages that arrive at the ESB, you’ll have to determine where that message needs to be forwarded. And you must transform the message format to meet the requirements of the target service provider. In this chapter, we look at the various ways in which you can work with messages.
Because an ESB is a piece of middleware between service consumers and service providers, an essential part of creating an integration solution involves the determination of the target service provider(s). The logic related to this core functionality of an ESB is often referred to as message routing. We look at the theory of message routing and how it can be implemented in open source ESBs in section 5.1. With these examples, you’ll be able to introduce complex routing functionality to both Mule and ServiceMix.