ples.mule-example-loanbroker-esn.3.5.0-bighorn-RC3.source-code.loan-broker-vm-endpoints-config.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-example-loanbroker-esn
Show all versions of mule-example-loanbroker-esn
The Loan Broker example application is based on the example presented in the Enterprise Integration Patterns book. This chapter of the book is available online so you can see a detailed description of the application here (http://www.eaipatterns.com/ComposedMessagingWS.html).
<?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/current/mule-vm.xsd"> <description> This loan broker example is modeled on the Enterprise integration Patterns book sample. Here we define components and endpoints using the VM transport. </description> <custom-transformer name="ExtractCustomer" class="org.mule.transformer.simple.GetBeanProperty"> <spring:property name="propertyName" value="customerRequest.customer"/> </custom-transformer> <vm:endpoint name="CustomerRequests" path="customer.requests" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="LoanBrokerQuotes" path="loan.quotes" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="CreditAgency" path="credit.agency" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="CreditAgencyIn" path="credit.agency" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="LenderService" path="lender.service?method=setLenderList" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="BankGateway" path="bank.gateway" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank1" path="bank.1" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank1In" path="bank.1" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank2" path="bank.2" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank2In" path="bank.2" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank3" path="bank.3" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank3In" path="bank.3" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank4" path="bank.4" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank4In" path="bank.4" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank5" path="bank.5" exchange-pattern="one-way" connector-ref="syncVm"/> <vm:endpoint name="Bank5In" path="bank.5" exchange-pattern="one-way" connector-ref="syncVm"/> </mule>