<?xml version="1.0" encoding="ISO-8859-1"?>
<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:axis="http://www.mulesource.org/schema/mule/axis/2.0"
       xmlns:jms="http://www.mulesource.org/schema/mule/jms/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/axis/2.0 http://www.mulesource.org/schema/mule/axis/2.0/mule-axis.xsd
       http://www.mulesource.org/schema/mule/jms/2.0 http://www.mulesource.org/schema/mule/jms/2.0/mule-jms.xsd">

    <jms:activemq-connector name="jmsConnector"/>
    <!-- this is needed also, but does not work now -->
    <!--                            brokerUrl="vm://localhost?broker.persistence=true"/> -->

    <axis:endpoint name="soapActionDefined"
                   address="jms://soap.my.queue?method=echo&amp;MULE_REMOTE_SYNC=true"
                   SOAPAction="jms://soap.my.queue/echoComponent"/>
    <axis:endpoint name="componentName" address="jms://myComponent?method=echo&amp;MULE_REMOTE_SYNC=true"/>
    <endpoint name="noSoapActionDefined" address="axis:jms://soap.my.queue?method=echo&amp;MULE_REMOTE_SYNC=true"/>
    <endpoint name="noMethodDefined" address="axis:jms://soap.my.queue"/>

    <model name="test">
        <service name="echoComponent">
            <inbound>
                <inbound-endpoint address="axis:jms://soap.my.queue"/>
            </inbound>
            <component class="org.mule.component.simple.EchoComponent"/>
        </service>

        <service name="myComponent">
            <inbound>
                <inbound-endpoint address="axis:jms://myComponent"/>
            </inbound>
            <component class="org.mule.component.simple.EchoComponent"/>
        </service>
    </model>

</mule>
