camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tarun Kumar <>
Subject camel jms polling
Date Wed, 08 Jan 2014 16:38:10 GMT

I have two routes

<camel:route id="route1">

 <camel:from uri="timer://foo?period=10000"></camel:from>

<camel:bean ref="bean1" method="method1"></camel:bean>


<camel:route id="route2">

 <camel:from uri="timer://foo?period=10000"></camel:from>

<camel:bean ref="bean2" method="method2"></camel:bean>


in bean1 and bean2, i poll messages from different JMS queues. When i start
the server, polling consumer in bean1 waits (and blocks) for messages to be
available in jms queue.

Is there any way i can run both routes in parallel?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message