public interface TimeoutAwareAggregationStrategy extends AggregationStrategy
AggregationStrategy which can handle timeouts as well.| Modifier and Type | Method and Description |
|---|---|
void |
timeout(Exchange oldExchange,
int index,
int total,
long timeout)
A timeout occurred.
|
aggregatevoid timeout(Exchange oldExchange, int index, int total, long timeout)
oldExchange - the current aggregated exchange, or the original Exchange if no aggregation
has been done before the timeout occurredindex - the index, may be -1 if not possible to determine the indextotal - the total, may be -1 if not possible to determine the totaltimeout - the timeout value in millis, may be -1 if not possible to determine the timeoutApache Camel