tree: fb52dbacf62d9def6c078b4fd3d3838bd482e50f [path history] [tgz]
  2. pom.xml
  3. src/

Loan Broker Example


This example shows how to use Camel to implement the EIP's loan broker example, from the EIP book (

The example has two versions (JMS queues, and web services), that uses a different transport for exchanging messages between the client, credit agency, and the banks.


You will need to compile this example first:

mvn compile


The example of JMS queue version should run if you type

mvn exec:java -PQueue.LoanBroker
mvn exec:java -PQueue.Client

The example of web services version

mvn exec:java -PWS.LoanBroker
mvn exec:java -PWS.Client

To stop the example hit ctrl+c


This example is documented at

Forum, Help, etc

If you hit an problems please let us know on the Camel Forums

Please help us make Apache Camel better - we appreciate any feedback you may have. Enjoy!