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

    <global-property name="test.endpoint" value="tcp://localhost:45441"/>
    
    <tcp:connector name="tcpConnector" clientSoTimeout="60000" serverSoTimeout="60000">
        <tcp:length-protocol payloadOnly="true"/>
    </tcp:connector>

    <!-- what is this for? -->
    <tcp:endpoint name="clientEndpoint" address="${test.endpoint}"/>

    <model name="model">
        <service name="service">
            <inbound>
                <tcp:inbound-endpoint address="${test.endpoint}" synchronous="true"/>
            </inbound>
            <echo-component/>
        </service>
    </model>

</mule>
