List of Listings

 

Chapter 1. The world of open source ESBs

Listing 1.1. The file poller Mule configuration: mule-config.xml

Listing 1.2. The file poller ServiceMix configuration: servicemix.xml

Chapter 2. Architecture of Mule and ServiceMix

Listing 2.1. Transformers configuration in Mule

Listing 2.2. Sample inbound router definition for Mule

Listing 2.3. Configuration showing how to use an outbound router

Listing 2.4. Example of a simple component with Java implementation

Listing 2.5. Sample XBean configuration for the ServiceMix file BC

Listing 2.6. Content-based routing using the EIP service engine

Listing 2.7. Camel route using Java

Listing 2.8. Camel route using XML

Chapter 3. Setting up the Mule and ServiceMix environments

Listing 3.1. CustomerServiceImpl bean that will be configured with Spring

Listing 3.2. CustomerDAO that will be injected into the CustomerBean

Listing 3.3. Spring dependency injection example

Listing 3.4. Using Spring together with Mule: an example service

Listing 3.5. Mule component referencing a Spring bean

Listing 3.6. ServiceMix configuration that references a POJO bean defined in Spring

Listing 3.7. JiBX mapping file of the person XML message to a Person Java class

Listing 3.8. JiBX mapping example with a structure definition

Listing 3.9. An example of a JiBX binding file with namespaces

Listing 3.10. Implementation of the ObjectToXML transformer for Mule

Listing 3.11. Implementation of the XMLToObject transformer for Mule