Access Keys:
Skip to content (Access Key - 0)

Contents

Loan Broker Example

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:

Prerequisites

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.

Preparation

  1. At a command prompt/shell, navigate to the examples/loanbroker directory under the Mule distribution root.
  2. 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.
  3. 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.

Running the Example

  1. At a command prompt/shell, navigate to the examples/loanbroker directory under the Mule distribution root.
  2. Run the loanbroker script.
  3. At the prompt, select the ESB, ESN, or BPM example, and then follow the remaining prompts for that example.
Adaptavist Theme Builder Powered by Atlassian Confluence