camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Anderson" <jla...@gmail.com>
Subject jms component and quartz component in 1.3-SNAPSHOT
Date Sun, 25 Nov 2007 01:22:41 GMT
I have a fairly simple config which works fine in 1.2.0 but if i
switch to 1.3-SNAPSHOT no messages are delivered to the bean from the
jms endpoint

    <camelContext id="camel"
xmlns="http://activemq.apache.org/camel/schema/spring">
        <route>
            <from uri="jms:somequeue"/>
            <to uri="bean:somebean"/>
        </route>
        <route>
            <from
uri="quartz://group/tick/0/0,5,10,15,20,25,30,35,40,45,50,55/*/*/*/$"/>
            <to uri="bean:somebean"/>
        </route>

    </camelContext>

    <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
        <property name="connectionFactory">
            <bean class="org.apache.activemq.ActiveMQConnectionFactory">
                <property name="brokerURL" value="${jms.url}"/>
            </bean>
        </property>
    </bean>

additionally connecting to the activemq instance via jconsole shows 0
consumers on the queue and messages waiting to be dequeued

if I remove the quartz route the jms listener appears to work again so
perhaps some interaction between the 2 routes is causing a problem
somewhere

Mime
View raw message