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

    Modifier and Type
    Method
    Description
    boolean
    Check the state of the Camel route
  • Method Details

    • isReadyToBeClosed

      boolean isReadyToBeClosed()
      Check the state of the Camel route
      Returns:
      true to close the route and false to leave open