<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE mule-configuration PUBLIC "-//MuleSource //DTD mule-configuration XML V1.0//EN"
                                "http://mule.mulesource.org/dtds/mule-configuration.dtd">

<mule-configuration id="quartz_test" version="1.0">

    <global-endpoints>
        <endpoint name="quartz.in.1" address="quartz:/myService1">
            <properties>
                <property name="repeatInterval" value="1000" />
                <property name="repeatCount" value="3" />
                <property name="payload" value="quartz test" />
            </properties>
        </endpoint>

        <endpoint name="quartz.in.2" address="quartz:/myService2">
            <properties>
                <property name="repeatInterval" value="1000" />
                <property name="repeatCount" value="1" />
            </properties>
        </endpoint>
    </global-endpoints>

    <model name="quartz" type="seda">

        <mule-descriptor name="quartzService1" implementation="org.mule.tck.functional.FunctionalTestComponent2">
            <inbound-router>
                <global-endpoint name="quartz.in.1"/>
            </inbound-router>
            <!--
                we want exactly one TestComponent for this test, otherwise counter 
                bookkeeping would be more difficult than necessary.
            <pooling-profile maxActive="1" exhaustedAction="WAIT" />
            -->
        </mule-descriptor>

        <mule-descriptor name="quartzService2" implementation="org.mule.tck.functional.FunctionalTestComponent2">
            <inbound-router>
                <global-endpoint name="quartz.in.2"/>
            </inbound-router>
            <!--
                we want exactly one TestComponent for this test, otherwise counter 
                bookkeeping would be more difficult than necessary.
            <pooling-profile maxActive="1" exhaustedAction="WAIT" />
            -->
        </mule-descriptor>
    </model>
    
</mule-configuration>
