Class CallerBlocksPolicy

java.lang.Object
org.springframework.integration.util.CallerBlocksPolicy
All Implemented Interfaces:
RejectedExecutionHandler

public class CallerBlocksPolicy
extends Object
implements RejectedExecutionHandler
A RejectedExecutionHandler that blocks the caller until the executor has room in its queue, or a timeout occurs (in which case a RejectedExecutionException is thrown.
Since:
3.0.3
Author:
Gary Russell, Artem Bilan