concept mule message flow in category esb

appears as: Mule message flow
Open-Source ESBs in Action: Example Implementations in Mule and ServiceMix

This is an excerpt from Manning's book Open-Source ESBs in Action: Example Implementations in Mule and ServiceMix.

The best way to learn how to configure transactions within a Mule message flow is to implement a simple example. So let’s start with a single-resource JMS transaction that’s configured on an inbound endpoint.

In addition to the definition of the publish-subscribe mechanism as shown in figure 9.7, this Mule configuration also describes the restaurant-response implementation shown earlier in figure 9.4. But let’s first focus on the publish-subscribe functionality, because it’s also the starting point for the message flow. The Mule configuration can become large, so it’s a good practice to separate logical units of work in different files. You need to define the Spring restaurant beans and the Hibernate DAO in addition to the Mule message flow, so you’ll divide these definitions into two files. It’s easy to combine the two definitions with a simple import statement . You can configure multiple import statements if necessary.