org.mule.samples.loanbroker.esb
Class LoanBroker
java.lang.Object
org.mule.samples.loanbroker.esb.LoanBroker
- public class LoanBroker
- extends Object
LoanBroker is the Service that starts the loan request process. The
broker also receives the final quote.
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoanBroker
public LoanBroker()
requestLoanQuote
public LoanQuoteRequest requestLoanQuote(CustomerQuoteRequest request)
throws Exception
- Triggers the Loan Broker process. The LoanQuoteRequest returned is sent on the
bus. Because the LoanBroker component has a ResponseRouter configured on it it
will not return to the callee until the responseRouter and processed. In this
case it waits until all loan requests to the banks have been returned and then
returns the lowest LoanQuote to the callee.
- Parameters:
request -
- Returns:
-
- Throws:
Exception
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.