camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deepak_a <angesh...@gmail.com>
Subject Re: Round Robin in Camel Routes
Date Thu, 18 Jul 2013 17:02:45 GMT
Hi,

I was not clear in my earlier query.
let me clarify.

In my current architecture I have multiple routes set up.
Each route has has a unique 'from' point and a 'to' end point (that is
common for all routes)

e.g.

Route 1: From: MQ-Queue;    To: inbound.Queue (in activeMQ)
Route 2: From: FTP;             To: inbound.Queue (in activeMQ)
Route 3: From: Webservice;   To: inbound.Queue (in activeMQ)

The issue I am facing is - since my destination (To end point) is Queue that
is common for all routes, I am not able to evenly process the messages from
each endpoint.

My query is is it possible to set up one route like this

Route 1:
From: MQ-Queue;
From: FTP;
From: Webservice; 
To: inbound.Queue (in activeMQ)

The same route consumes messages from each from point in a round-robin
manner and push message to the destination?


regards
D



--
View this message in context: http://camel.465427.n5.nabble.com/Round-Robin-in-Camel-Routes-tp5735857p5735860.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message