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:
$Revision$

Method Summary
 void timeout(Exchange oldExchange, int index, int total, long timeout)
          A timeout occurred
 
Methods inherited from interface org.apache.camel.processor.aggregate.AggregationStrategy
aggregate
 

Method Detail

timeout

void timeout(Exchange oldExchange,
             int index,
             int total,
             long timeout)
A timeout occurred

Parameters:
oldExchange - the current aggregated exchange, or the original Exchange if no aggregation has been done before the timeout occurred
index - the index
total - the total
timeout - the timeout value in millis


Apache CAMEL