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

    <description>
        This is a simple component example that demostrates how to expose
        a component over multiple transports.
    </description>


    <stdio:connector name="SystemStreamConnector"
        promptMessage="Please enter something: "
        messageDelayTime="1000"/>
<file:connector name="NamesInFiles" outputPattern="Names.txt" outputAppend="true"/>


    <model name="echoSample">
        <service name="EchoUMO">
            <inbound>
                <stdio:inbound-endpoint system="IN"/>
                <vm:inbound-endpoint path="echo"/>
            </inbound>

            <echo-component/>

            <outbound>
                <outbound-pass-through-router>
                    <file:outbound-endpoint path="./names"/>
                </outbound-pass-through-router>
            </outbound>
        </service>
    </model>
</mule>
