<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:spring="http://www.springframework.org/schema/beans" xmlns:tcp="http://www.mulesource.org/schema/mule/tcp/2.0"
    xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.0"
    xmlns:client="http://www.mulesource.org/schema/mule/client/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/client/2.0 http://www.mulesource.org/schema/mule/client/2.0/mule-client.xsd
       http://www.mulesource.org/schema/mule/vm/2.0 http://www.mulesource.org/schema/mule/vm/2.0/mule-vm.xsd">


    <client:remote-dispatcher-agent>
        <client:remote-endpoint address="tcp://localhost:5555" synchronous="true"/>
    </client:remote-dispatcher-agent>

    <model name="model">

        <service name="testComponent1">
            <inbound>
                <inbound-endpoint address="vm://test.queue.1">
                    <custom-transformer class="org.mule.test.transformers.FailingTransformer"/>
                </inbound-endpoint>
            </inbound>
            <component>
                <singleton-object class="org.mule.tck.functional.FunctionalTestComponent" />
            </component>
        </service>

        <service name="testComponent2">
            <inbound>
                <inbound-endpoint address="vm://test.queue.2" />
            </inbound>
            <component>
                <singleton-object class="org.mule.tck.functional.FunctionalTestComponent">
                    <properties>
                        <spring:entry key="throwException" value="true" />
                    </properties>
                </singleton-object>
            </component>
        </service>

    </model>
</mule>
