Mule in Action
David Dossot and John D'Emic
Foreword by Ross Mason, Creator of Mule
  • July 2009
  • ISBN 9781933988962
  • 432 pages
  • printed in black & white
This title is out of print and no longer for sale.

A deep, anatomical view of Mule ESB.

Ara Abrahamian, Arachitect, Coauthor of Java Open Source Programming

Second edition of this book is available

Mule in Action covers Mule fundamentals and best practices. It is a comprehensive tutorial that starts with a quick ESB overview and then gets Mule to work. It dives into core concepts like sending, receiving, routing, and transforming data. Next, it gives you a close look at Mule's standard components and how to roll out custom ones. You'll pick up techniques for testing, performance tuning, BPM orchestration, and even a touch of Groovy scripting.

Table of Contents show full

foreword

preface

acknowledgments

about this book

about the authors

==

Part 1 Core Mule

1. Chapter 1 Discovering Mule

1.1. ESB, the EAI workhorse

1.2. The Mule project

1.3. Mule’s core concepts

1.4. Mule on your machine

1.5. Summary

2. Chapter 2 Configuring Mule

2.1. First ride

2.2. The Spring XML configuration

2.3. Configuration modularity

2.4. Summary

3. Chapter 3 Sending and receiving data with Mule

3.1. Understanding connectors and endpoints

3.2. Working with files and directories using the file transport

3.3. Using email

3.4. Using web services

3.5. Using the JMS transport for asynchronous messaging

3.6. Receiving and sending files using the FTP transport

3.7. Working with databases

3.8. Using the XMPP transport

3.9. The VM transport

3.10. Summary

4. Chapter 4 Routing data with Mule

4.1. Working with routers

4.2. Using filters with routers

4.3. Using inbound routers

4.4. Outbound routing

4.5. Summary

5. Chapter 5 Transforming data with Mule

5.1. Working with transformers

5.2. Configuring transformers

5.3. Using core transformers

5.4. Using XML transformers

5.5. Using JMS transformers

5.6. Existing transformers in action

5.7. Writing custom transformers

5.8. Summary

6. Chapter 6 Working with components

6.1. Massaging messages

6.2. Invoking remote logic

6.3. Executing business logic

6.4. Summary

Part 2 Running Mule

7. Chapter 7 Deploying Mule

7.1. Deployment strategies

7.2. Deployment topologies

7.3. Deployment management

7.4. Summary

8. Chapter 8 Exception handling and logging

8.1. Exception strategies

8.2. Using retry policies

8.3. Logging with Mule

8.4. Summary

9. Chapter 9 Securing Mule

9.1. Demonstrating Mule security

9.2. Using security managers and understanding security providers

9.3. Securing endpoints with security filters

9.4. Summary

10. Chapter 10 Using transactions with Mule

10.1. Using transactions with a single resource

10.2. Using multiple resource transactions

10.3. Managing transactions with exception strategies

10.4. Summary

11. Chapter 11 Monitoring with Mule

11.1. Checking health

11.2. Tracking activity

11.3. Building dashboards

11.4. Summary

Part 3 Traveling further with Mule

12. Chapter 12 Developing and testing with Mule

12.1. Managing Mule projects with Maven

12.2. Using Mule with an IDE

12.3. Testing with Mule

12.4. Summary

13. Chapter 13 Using the Mule API

13.1. Piggybacking the Mule client

13.2. Exploring the Mule context

13.3. Digging the Mule event context

13.4. Keeping abreast with Mule

13.5. Summary

14. Chapter 14 Scripting with Mule

14.1. Using Rhino

14.2. Using Groovy

14.3. Using Spring

14.4. Summary

15. Chapter 15 Business process management and scheduling with Mule

15.1. Orchestrating services with Mule

15.2. Job scheduling with Mule

15.3. Summary

16. Chapter 16 Tuning Mule

16.1. Understanding thread pools

16.2. Increasing performance

16.3. Summary

Appendix A: The expression evaluation framework

Appendix B: The Mule community

index

© 2014 Manning Publications Co.

About the Technology

Mule is a widely used open source enterprise service bus. It is standards based, provides easy integration with Spring and JBoss, and fully supports the enterprise messaging patterns collected by Hohpe and Woolf. You can readily customize Mule without writing a lot of new code.

About the book

Mule in Action covers Mule fundamentals and best practices. It is a comprehensive tutorial that starts with a quick ESB overview and then gets Mule to work. It dives into core concepts like sending, receiving, routing, and transforming data. Next, it gives you a close look at Mule's standard components and how to roll out custom ones. You'll pick up techniques for testing, performance tuning, BPM orchestration, and even a touch of Groovy scripting.

What's inside

  • Mule deployment, logging, and monitoring
  • Common transports, routers, and transformers
  • Security, routing, orchestration, and transactions

About the reader

Written for developers, architects, and IT managers, the book requires familiarity with Java but no previous exposure to Mule or other ESBs.

About the authors

Both authors are Java EE architects. David Dossot is the project "despot" of the JCR Transport and has worked with Mule since 2005. John D'Emic is Chief Integration Architect at OpSource Inc., where he has used Mule since 2006.