The Loan Broker example allows you to make a loan request, which is sent to a credit agency service for verification, which is then sent on to a loan agent service, which then sends it on to multiple banks for quotes. The lowest quote is returned to the screen.
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.
There are three versions of the Loan Broker example:
- Loan Broker ESB Example: implements a full ESB architecture
- Loan Broker ESN Example: provides a synchronous and asynchronous version of the example using Axis or CXF
- Loan Broker BPM Example: uses a business process engine to orchestrate the requests
Prior to running the application, verify the following:
- You have an Internet connection available.
- You have installed a supported version of Ant or Maven as described in Installing Mule.
- You have set up your environment as described in Installing Mule.
- You have installed Mule ESB as described in Installing Mule. If you are using Mule Enterprise Edition, ensure that you have run the populate_m2_repo script to populate the Maven repository as described on that page.
- At a command prompt/shell, navigate to the examples/loanbroker directory under the Mule distribution root.
- If you are running this example for the first time, run either the Ant command ant or the Maven command mvn, depending on which tool you want to use.
- When you see output indicating that the required JARs have been downloaded to the MULE_HOME/lib/user directory, proceed with the "Running" section below.