<?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:mule="http://www.mulesource.org/schema/mule/core/2.0"
      xmlns:test="http://www.mulesource.org/schema/mule/test/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/test/2.0 http://www.mulesource.org/schema/mule/test/2.0/mule-test.xsd
       http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd">


     <model>
        <service name="testService1">
            <inbound>
                <inbound-endpoint address="vm://service1"/>
            </inbound>
            <test:component enableNotifications="false" enableMessageHistory="false">
                <test:return-data>Foo Bar Car Jar</test:return-data>
            </test:component>
        </service>

        <service name="testService2">
            <inbound>
                <inbound-endpoint address="vm://service2"/>
            </inbound>
            <test:component>
                <test:return-data file="org/mule/test/integration/tck/test-data.txt"/>
            </test:component>
        </service>

        <service name="testService3">
            <inbound>
                <inbound-endpoint address="vm://service3"/>
            </inbound>
            <test:component enableMessageHistory="false" appendString=" received in ${mule:serviceName}"/>
        </service>

        <service name="testService4">
            <inbound>
                <inbound-endpoint address="vm://service4"/>
            </inbound>
            <test:component throwException="true" />
        </service>

         <service name="testService5">
            <inbound>
                <inbound-endpoint address="vm://service5"/>
            </inbound>
            <test:component throwException="true" exceptionToThrow="java.io.FileNotFoundException"/>
        </service>
    </model>
</mule>