camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vince Iglehart <>
Subject SEDA with Aggregation
Date Fri, 21 Oct 2016 18:37:01 GMT
I have some questions on how the SEDA component operates. I am using Camel
2.17.3 in a non clustered environment. 

I have a scenario where I need to 
1. Accept multiple incoming messages using a webservice
2. Aggregate messages using the $body of the message
3. After a lapse of 3 seconds, call RouteB in the same Camel context.
4. Allow RouteB to execute only when there is no message currently being
processed by RouteB. If there are new messages that come in, they must wait
until the current message is processed by RouteB. 

Here is what I have so far:

from("cxf://").aggregate(simple("${body}"), new


My understanding is that SEDA will block all incoming messages to RouteB
until the current message has been completed.  Am I correct? Will this
design guarantee that only 1 "instance" of routeB will be running at a time?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message