Package org.apache.camel.processor
Interface PooledExchangeTask
-
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
RedeliveryErrorHandler.RedeliveryTask
,RedeliveryErrorHandler.SimpleTask
public interface PooledExchangeTask extends Runnable
A task that EIPs and internal routing engine uses to store state when processing anExchange
.- See Also:
PooledExchangeTaskFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepare(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
Prepares the task for the given exchange and its callbackvoid
reset()
Resets the task after its done and can be reused for another exchange.
-
-
-
Method Detail
-
prepare
void prepare(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback callback)
Prepares the task for the given exchange and its callback- Parameters:
exchange
- the exchangecallback
- the callback
-
reset
void reset()
Resets the task after its done and can be reused for another exchange.
-
-