camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ankur <ankur.b.aggar...@accenture.com>
Subject How to execute different parallely
Date Mon, 14 Oct 2013 15:14:57 GMT
Hi,

I have different routes which need to be run after every 5 min parallely.
I'm confused how to achieve as right now it is working sequentially instead
of parallely.

my route look like this 

<camelContext xmlns="http://camel.apache.org/schema/spring">
<route id="approvalService">
<from uri="timer:foo?period=300s" />
<to uri="bean:activityCenterService?method=processSelectApprovals" />
<to uri="bean:activityCenterService?method=processApprovals" />
</route>

<route id="itService">
<from uri="timer:foo?period=300s" />
<to uri="bean:activityCenterService?method=processSelectIT" />
<to uri="bean:activityCenterService?method=processIT" />
</route>

<route id="newService">
<from uri="timer:foo?period=300s" />
<to uri="bean:activityCenterService?method=processSelectNew" />
<to uri="bean:activityCenterService?method=processNew" />
</route>
</camelContext>


i want all three routes to get execute at the same time. 

thanks in advance 

Ankur 



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-execute-different-parallely-tp5741543.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message