You are viewing an older version of this section. Click here to navigate to the latest version.

About the Included Examples

Example Description

Echo Example

A simple example that demonstrates how to expose a service component over multiple transports.

Hello World Example

Shows how to configure multiple service components to interact on a single request and how to manage event transformations. There is a good article on DevX that describes how to get started with Mule using the Hello World Example. There is also a tutorial based on the Hello World example to help you get started with modifying a Mule application.

Stock Quote Example

This example demonstrates how to invoke an ASPX web service from Mule, transform the result using XSLT, and deserialize the result to a StockQuote Java bean. The example demonstrates invoking the service using REST and SOAP.

Error Handler Example

The error handler example demonstrates using Spring beans as Mule service component implementations and how to publish messages to multiple outbound endpoints.

GPS Walker Example

Demonstrates how to use AJAX to communicate from a Mule Service to the browser.

Scripting Example

Demonstrates Mule support for JSR-223 scripting.

Notifications Example

Demonstrates how to use notifications. Also contains information on basic custom agents, custom security filters and AJAX-Mule connectivity.

Loan Broker Example

The Loan Broker example application is based on the example presented in the Enterprise Integration Patterns book. This chapter of the book is available online so you can see a detailed description of the application here.

Loan Broker BPM Example

The BPM example illustrates using a business process engine (JBoss jBPM) to orchestrate the loan broker application.

Bookstore Example

Demonstrates how to run Mule inside a webapp and how to build JAX-WS services with CXF.

CEP Example

New in Mule 3.2 The application is an alert mechanism for sudden changes in a stock ticker. It is implemented using the CEP functionality of Drools.

JDBC Example

(Available in Mule ESB Enterprise only) Demonstrate how to use the JDBC transport to read from and write to a database, including some features that are available only in the Mule Enterprise version of the transport.