<blueprint
    xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">


    <reference id="connectionFactory" interface="javax.jms.ConnectionFactory" />
    <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent">
        <property name="connectionFactory" ref="connectionFactory" />
    </bean>

    <camelContext xmlns="http://camel.apache.org/schema/blueprint">
        <route>
            <from uri="timer://myTimer?fixedRate=true&amp;period=2000" />
            <to uri="activemq:queue:LOG.ME" />
        </route>
        <route>
            <from uri="activemq:queue:LOG.ME" />
            <to uri="log:ExampleActiveMQRouterBlueprint" />
        </route>
    </camelContext>

</blueprint>
