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

<process-definition name="message">

    <description>Generates a Mule message and processes its response.</description>

    <start-state name="start">
        <transition to="sendMessage"></transition>
    </start-state>

    <state name="sendMessage">
        <event type="node-enter">
            <action class="org.mule.transport.bpm.jbpm.actions.SendMuleEvent">
                <endpoint>test:///tmp</endpoint>
                <payload>Message in a bottle.</payload>
                <synchronous>false</synchronous>
            </action>
        </event>
        <transition to="end" />
    </state>

    <end-state name="end" />

</process-definition>
