ples.mule-example-loanbroker-esn.3.5.0-bighorn-RC3.source-code.loan-broker-cxf-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:cxf="http://www.mulesoft.org/schema/mule/cxf" xmlns:http="http://www.mulesoft.org/schema/mule/http" 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/cxf http://www.mulesoft.org/schema/mule/cxf/current/mule-cxf.xsd http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.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 CXF transport. </description> <http:connector name="http.connector"> <receiver-threading-profile maxThreadsActive="200"/> <dispatcher-threading-profile maxThreadsActive="200"/> </http:connector> <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" connector-ref="syncVm"/> <vm:endpoint name="LoanBrokerQuotes" path="loan.quotes" exchange-pattern="one-way" connector-ref="syncVm"/> <endpoint name="CreditAgency" address="http://localhost:18080/mule/TheCreditAgencyService?method=getCreditProfile" exchange-pattern="request-response"> <cxf:jaxws-client serviceClass="org.mule.example.loanbroker.credit.CreditAgencyService" /> </endpoint> <endpoint name="CreditAgencyIn" address="http://localhost:18080/mule/TheCreditAgencyService" exchange-pattern="request-response"> <cxf:jaxws-service serviceClass="org.mule.example.loanbroker.credit.CreditAgencyService" /> </endpoint> <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"/> <endpoint name="Bank1" address="http://localhost:10080/mule/TheBank1?method=getLoanQuote" exchange-pattern="one-way"> <cxf:jaxws-client serviceClass="org.mule.example.loanbroker.bank.BankService" /> </endpoint> <endpoint name="Bank1In" address="http://localhost:10080/mule/TheBank1" exchange-pattern="one-way"> <cxf:jaxws-service serviceClass="org.mule.example.loanbroker.bank.BankService"/> </endpoint> <endpoint name="Bank2" address="http://localhost:20080/mule/TheBank2?method=getLoanQuote" exchange-pattern="one-way"> <cxf:jaxws-client serviceClass="org.mule.example.loanbroker.bank.BankService" /> </endpoint> <endpoint name="Bank2In" address="http://localhost:20080/mule/TheBank2" exchange-pattern="one-way"> <cxf:jaxws-service serviceClass="org.mule.example.loanbroker.bank.BankService"/> </endpoint> <endpoint name="Bank3" address="http://localhost:30080/mule/TheBank3?method=getLoanQuote" exchange-pattern="one-way"> <cxf:jaxws-client serviceClass="org.mule.example.loanbroker.bank.BankService" /> </endpoint> <endpoint name="Bank3In" address="http://localhost:30080/mule/TheBank3" exchange-pattern="one-way"> <cxf:jaxws-service serviceClass="org.mule.example.loanbroker.bank.BankService"/> </endpoint> <endpoint name="Bank4" address="http://localhost:40080/mule/TheBank4?method=getLoanQuote" exchange-pattern="one-way"> <cxf:jaxws-client serviceClass="org.mule.example.loanbroker.bank.BankService" /> </endpoint> <endpoint name="Bank4In" address="http://localhost:40080/mule/TheBank4" exchange-pattern="one-way"> <cxf:jaxws-service serviceClass="org.mule.example.loanbroker.bank.BankService"/> </endpoint> <endpoint name="Bank5" address="http://localhost:50080/mule/TheBank5?method=getLoanQuote" exchange-pattern="one-way"> <cxf:jaxws-client serviceClass="org.mule.example.loanbroker.bank.BankService"/> </endpoint> <endpoint name="Bank5In" address="http://localhost:50080/mule/TheBank5" exchange-pattern="one-way"> <cxf:jaxws-service serviceClass="org.mule.example.loanbroker.bank.BankService"/> </endpoint> </mule>