Package org.apache.camel.processor
Interface PooledExchangeTask
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
RedeliveryErrorHandler.RedeliveryTask,RedeliveryErrorHandler.SimpleTask
A task that EIPs and internal routing engine uses to store state when processing an
Exchange.- See Also:
-
Method Summary
-
Method Details
-
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.
-