Loan Broker ExampleThis example shows how to use Camel to implement the EIP's loan broker example. The example has two versions,one for JMS, one for webservice one. Example with message queue (JMS)The queue version of loan broker is based on the camel-jms component, and it shows how to using the message queue to connect the different service models (such as the credit agency , and banks). The example should run if you type mvn exec:java -PQueue.LoanBroker mvn exec:java -PQueue.Client To stop the example hit ctrl + c Example with web serviceThe web service version of loan broker is based on the camel-cxf component which can produce and consume the SOAP message on the wire. It uses the InOut Message exchange pattern, when the client send out the message to the router , it can get the response message back from the same endpoint. The example should run if you type mvn exec:java -PWS.LoanBroker mvn exec:java -PWS.Client To stop the example hit ctrl + c |