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

    <spring:bean name="connectionFactory" class="org.mule.transport.jms.test.TestConnectionFactory"/>

    <!-- Default config -->
    <jms:connector name="jmsConnector" connectionFactory-ref="connectionFactory"/>

    <!-- DON'T use jms:endpoints here as we are testing for resolution from uri
         (all that the jms topic attribute does is make an address using "jms://topic:") -->
    <endpoint name="ep1" address="jms://queue.NotATopic"/>
    <endpoint name="ep2" address="jms://context.aTopic?topic=true"/>
    <endpoint name="ep3" address="jms://topic:context.ThisIsATopic"/>
    <endpoint name="ep4" address="jms://topic:context.ThisIsATopic?topic=false"/>
    <endpoint name="ep5" address="jms://context.aTopic.Properties">
        <property key="topic" value="true"/>
    </endpoint>

</mule>
