Free Sample
+ Collection

Mule ESB Cookbook

Dr. Zakir Laliwala, Abdul Samad, Azaz Desai, Uchit Vyas

If you’re familiar with Java, this book will enable you to create a lightweight enterprise service bus using the Mule framework. Starting with the basics, you’ll soon have applications on different platforms communicating with each other.
RRP $29.99
RRP $49.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782164401
Paperback428 pages

About This Book

  • Step-by-step practical recipes to get started with Mule ESB 3.4
  • Learn to effectively use Mule ESB in a real-world scenario
  • Expert advice on using filters, connecting with cloud, integrating with web services, and much more

Who This Book Is For

This book targets Java developers, architects, and IT managers who want to learn Mule ESB and who want solutions to their Enterprise and web service problems. This book requires familiarity with Java, but no previous exposure to Mule or other ESBs is required.

Table of Contents

Chapter 1: Getting Started with Mule ESB
Understanding Mule concepts and terminologies
Setting up the Mule IDE
Installing Mule Studio
Configuring Mule components
Deploying your first Hello World application on the Mule server
Chapter 2: Working with Components and Patterns
Configuring the component
Using the Echo component to display the message payload
Using a Flow Reference component to synchronously execute another flow
Publishing a RESTful web service using the REST component
Publishing a SOAP-based web service using the SOAP component
Chapter 3: Using Message Property, Processors, and Sources
Understanding components
Understanding message sources
Using message processors to control the message flow
Understanding message property scopes
Chapter 4: Endpoints
Configuring the Generic Endpoint
Configuring the HTTP Endpoint
Configuring the IMAP Endpoint to retrieve e-mails
Using the JDBC Endpoint to connect to the database
Implementing the File Transport channel using the File Endpoint
Sending messages asynchronously using the AJAX Endpoint
Using the Servlet Endpoint to listen to events or messages from servlet requests
Chapter 5: Transformers
Configuring the JSON-to-Object transformer
Configuring the Object-to-XML transformer
Configuring the Message and Variable transformers
Creating the custom transformer
Understanding the DataMapper transformer
Chapter 6: Configuring Filters
Configuring the Logic filters – And/Or/Not
Performing filtering according to the exception type
Filtering messages by evaluating expressions
Handling incoming events or messages using the Message filter
Configuring the Wildcard filter
Creating a Custom filter
Chapter 7: Handling Exceptions and Testing
Understanding Messaging Exception strategies
The Catch Exception Strategy
Configuring the Choice Exception Strategy
Configuring the Reference Exception Strategy
Configuring the Rollback Exception Strategy
Testing with JUnit in Mule ESB
Chapter 8: Introducing Web Services
Proxying web services
Creating JAX-WS services
Creating web services using the REST component
Calling external web services using the SOAP component
Chapter 9: Understanding Flows, Routers, and Services
Configuring the All Router/Flow Control
Configuring the Choice Router/Flow Control
Configuring the Splitter Flow Control
Chapter 10: Configuring Cloud Connectors
Configuring the Twitter Cloud Connector
Configuring the DropBoxIntegration folder

What You Will Learn

  • Learn how to work with components, workflow, and patterns, and how to configure them
  • Understand message sources, processors, and properties
  • Learn what an endpoint is and how you can configure this endpoint in your workflow
  • Understand transformers and how you can use them in your workflow
  • Learn about different types of filters and how to use them
  • Understand exception handling and unit testing with MuleESB
  • Create web services and integrate them in your workflow
  • Learn how to create a flow and how to use routers and services
  • Learn how you can use a cloud connector in the flow
  • Understand how to use processors in your workflow

In Detail

Mule ESB is a lightweight Java-based enterprise service bus (ESB) and integration platform that allows developers to connect applications together quickly and easily, enabling them to efficiently exchange data. You can therefore use Mule ESB to allow different applications to communicate with each other via a transit system to carry data between applications within your enterprise or across the Internet. It is also useful if you use more than one type of communication protocol while integrating three or more applications/services.

"Mule ESB Cookbook" takes readers through the practical approach of Mule ESB 3.3. This book solves numerous issues faced by developers working on Mule ESB in real time and provides use cases on how to integrate Mule with other technologies. It also focuses on development and delivery using Mule ESB through integrating, migrating, and upgrading advanced technological tools.

This book gives the reader a strong overview of the Mule framework using practical and easy-to-follow examples. It has three sections: problems, approaches, and solutions. The key aim of this book is to show you how to allow different applications to communicate with each other by creating a transit system to carry data between applications within your enterprise or across the Internet. Mule ESB enables easy integration of existing systems, regardless of the different technologies that the applications use, including JMS, Web Services, JDBC, HTTP, and more.

"Mule ESB Cookbook" will teach you everything you need to know to communicate between applications that are built on different platforms, as well as how to migrate them in your application across multiple platforms or on the cloud.


Read More