org.mule.examples.loanbroker
Interface LoanBrokerService

All Known Implementing Classes:
DefaultLoanBroker

public interface LoanBrokerService

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


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

Method Detail

getLoanQuote

public 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

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

Returns:
Outgoing payload will depend on the implementation


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.