<?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">
        <spring:property name="connectionFactoryProperty" value="TEST_VALUE"/>
    </spring:bean>

    <jms:custom-connector name="jmsConnector1" class="org.mule.transport.jms.test.GenericTestJmsConnector">
        <spring:property name="providerProperty" value="TEST_VALUE" />
        <spring:property name="connectionFactory" ref="connectionFactory" />
    </jms:custom-connector>

    <jms:connector name="jmsConnector2" connectionFactory-ref="connectionFactory"/>
</mule>
