Thanks. This looks like the pattern I need.
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-Time-based-Message-Routing-tp5593850p5594006.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
Take a look at the aggregator EIP :
http://camel.apache.org/aggregator2.html
You can do :
from("direct:A")
.to("direct:B");
from("direct:B")
.aggregate(header(MY_CORRELATION_KEY), new
MyAggregationStrategy()).completionTimeout(15 * 60 * 1000)
.to("direct:C");
Of course, you can aggregate o