Package org.apache.camel.throttling
Interface ThrottlingExceptionHalfOpenHandler
public interface ThrottlingExceptionHalfOpenHandler
Used by the
ThrottlingExceptionRoutePolicy
to allow custom code to handle the half open circuit state and how
to determine if a route should be closed-
Method Summary
-
Method Details
-
isReadyToBeClosed
boolean isReadyToBeClosed()Check the state of the Camel route- Returns:
- true to close the route and false to leave open
-