Class ManagedThrottlingExceptionRoutePolicy

java.lang.Object
org.apache.camel.management.mbean.ManagedService
org.apache.camel.management.mbean.ManagedThrottlingExceptionRoutePolicy
All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance, org.apache.camel.api.management.mbean.ManagedServiceMBean, org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean

@ManagedResource(description="Managed ThrottlingExceptionRoutePolicy") public class ManagedThrottlingExceptionRoutePolicy extends ManagedService implements org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
  • Constructor Details

    • ManagedThrottlingExceptionRoutePolicy

      public ManagedThrottlingExceptionRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingExceptionRoutePolicy policy)
  • Method Details

    • getPolicy

      public org.apache.camel.throttling.ThrottlingExceptionRoutePolicy getPolicy()
    • getExceptionTypes

      Specified by:
      getExceptionTypes in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getHalfOpenAfter

      Specified by:
      getHalfOpenAfter in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • setHalfOpenAfter

      public void setHalfOpenAfter(Long milliseconds)
      Specified by:
      setHalfOpenAfter in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getFailureWindow

      Specified by:
      getFailureWindow in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • setFailureWindow

      public void setFailureWindow(Long milliseconds)
      Specified by:
      setFailureWindow in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getFailureThreshold

      Specified by:
      getFailureThreshold in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • setFailureThreshold

      public void setFailureThreshold(Integer numberOfFailures)
      Specified by:
      setFailureThreshold in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • currentState

      public String currentState()
      Specified by:
      currentState in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getHalfOpenHandlerName

      Specified by:
      getHalfOpenHandlerName in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getCurrentFailures

      Specified by:
      getCurrentFailures in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getLastFailure

      public Long getLastFailure()
      Specified by:
      getLastFailure in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
    • getOpenAt

      public Long getOpenAt()
      Specified by:
      getOpenAt in interface org.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean