<?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:mule="http://www.mulesource.org/schema/mule/core/2.0"
       xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.0"
       xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.0"
       xsi:schemaLocation="
               http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
               http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
               http://www.mulesource.org/schema/mule/cxf/2.0 http://www.mulesource.org/schema/mule/cxf/2.0/mule-cxf.xsd
               http://www.mulesource.org/schema/mule/vm/2.0 http://www.mulesource.org/schema/mule/vm/2.0/mule-vm.xsd">

    <mule:model name="BridgeTest">
    
        <mule:service name="receiver">
            <mule:inbound>
                <cxf:inbound-endpoint address="http://localhost:63081/services/Echo" bridge="true"/>
            </mule:inbound>
            <mule:bridge-component/>
            <mule:outbound>
                <mule:outbound-pass-through-router>
                    <vm:outbound-endpoint path="test" />
                </mule:outbound-pass-through-router>
            </mule:outbound>
        </mule:service>
        
        <mule:service name="echoService">
            <mule:inbound>
                <mule:inbound-endpoint address="vm://test" />
            </mule:inbound>
            <mule:component class="org.mule.transport.cxf.bridge.EchoComponent"/>
        </mule:service>
        
    </mule:model>

</beans>
