<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:int="http://www.springframework.org/schema/integration"
	xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd">

	<bean id="creditBureau" class="org.springframework.integration.samples.loanbroker.stubs.CreditBureauStub" />

	<!-- Bank Endpoints (to be rewired to remoting adapters) -->
	<int:service-activator input-channel="exclusiveBankChannel" output-channel="loanQuotesChannel">
		<bean class="org.springframework.integration.samples.loanbroker.stubs.BankStub" p:name="exclusiveBank" p:baseRate="3.5"/>
	</int:service-activator>
			
	<int:service-activator input-channel="premiereBankChannel" output-channel="loanQuotesChannel">
		<bean class="org.springframework.integration.samples.loanbroker.stubs.BankStub" p:name="premiereBank" p:baseRate="4.0"/>
	</int:service-activator>

	<int:service-activator input-channel="qualityBankChannel" output-channel="loanQuotesChannel">
		<bean class="org.springframework.integration.samples.loanbroker.stubs.BankStub" p:name="qualityBank" p:baseRate="4.5"/>
	</int:service-activator>
			
	<int:service-activator input-channel="friendlyBankChannel" output-channel="loanQuotesChannel">
		<bean class="org.springframework.integration.samples.loanbroker.stubs.BankStub" p:name="friendlyBank" p:baseRate="5.0"/>
	</int:service-activator>
			
	<int:service-activator input-channel="easyBankChannel" output-channel="loanQuotesChannel">
		<bean class="org.springframework.integration.samples.loanbroker.stubs.BankStub" p:name="easyBank"/>
	</int:service-activator>
	<!-- end Bank Endpoints -->

</beans>
