org.apache.camel.processor.aggregate
Interface TimeoutAwareAggregationStrategy
- All Superinterfaces:
- AggregationStrategy
public interface TimeoutAwareAggregationStrategy
- extends AggregationStrategy
A specialized AggregationStrategy
which can handle timeouts as well.
- Version:
Method Summary |
void |
timeout(Exchange oldExchange,
int index,
int total,
long timeout)
A timeout occurred. |
timeout
void timeout(Exchange oldExchange,
int index,
int total,
long timeout)
- A timeout occurred.
Important: This method must not throw any exceptions.
- Parameters:
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 timeout
Apache Camel