Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: CAMEL-910

...

This example shows how to use Camel to implement the EIP's loan broker example.

The example has two versions,one is queue for JMS, one for webservice one.
The JMS version which leverages the message queue to combinate connect the credit agency and bank loan quote processing and processors together, it just uses the InOnly exchage exchange pattern to handle the message asynchronously;
the other is web service webservice version which shows how to integrate the credit agency and bank web services together and it uses by using the InOut exchange pattern synchronously.

Implementation with message queue (JMS)

...

The CreditAgency , Bank and Translator are all the implementation of Processor interface. We implement the business logicals logical in the void process(Exchange exchange) method.

...