All,

I have a blueprint file that works if I use tcp:// protocol but does not
work if I use vm:// all else being equal.
Is the vm protocol supported?

My blueprint file, which I drop into the deploy directory (See below.)
queues messages nicely if I use tcp. Of course, everything is running in the
same jvm.

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";>
    <bean id="jms"
class="org.apache.activemq.camel.component.ActiveMQComponent">
        <!-- This works. --> <property name="brokerURL"
value="tcp://localhost:61616" />
        <!-- This does not work. <property name="brokerURL"
value="vm://localhost:61616" />  -->
    </bean>
    <camelContext xmlns="http://camel.apache.org/schema/blueprint";>
        <route>
            <from uri="timer:test?period=5000" />
            <setBody>
                <constant>Ave Mundus!!</constant>
            </setBody>
            <to uri="jms:queue:ave" />
        </route>
    </camelContext>
</blueprint>

Thanks
-- 
Geoffry Roberts

Reply via email to