Class 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 Detail

      • ManagedThrottlingExceptionRoutePolicy

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

      • getPolicy

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

        public Long 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

        public Long 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

        public Integer 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

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

        public Integer 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