org.mule.example.loanbroker
Interface LoanBrokerService

All Known Implementing Classes:
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
 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

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

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

Returns:
Outgoing payload will depend on the implementation


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