org.mule.example.loanbroker
Interface LoanBrokerService

All Known Implementing Classes:
AbstractLoanBroker, AsynchronousLoanBroker, DefaultLoanBroker, SynchronousLoanBroker

public interface LoanBrokerService

LoanBroker is the Service that starts the loan request process. The broker also receives the final quote.


Method Summary
 java.lang.Object getLoanQuote(CustomerQuoteRequest request)
          Triggered by an incoming customer request for a loan.
 java.lang.Object receiveQuote(LoanQuote quote)
          Triggered by an incoming offer from a bank.
 

Method Detail

getLoanQuote

java.lang.Object getLoanQuote(CustomerQuoteRequest request)
                              throws LoanBrokerException
Triggered by an incoming customer request for a loan.

Returns:
Outgoing payload will depend on the implementation
Throws:
LoanBrokerException

receiveQuote

java.lang.Object receiveQuote(LoanQuote quote)
Triggered by an incoming offer from a bank.

Returns:
Outgoing payload will depend on the implementation


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.