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 Summary
ConstructorsConstructorDescriptionManagedThrottlingExceptionRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingExceptionRoutePolicy policy) -
Method Summary
Modifier and TypeMethodDescriptionString[]org.apache.camel.throttling.ThrottlingExceptionRoutePolicyvoidsetFailureThreshold(Integer numberOfFailures) voidsetFailureWindow(Long milliseconds) voidsetHalfOpenAfter(Long milliseconds) Methods inherited from class org.apache.camel.management.mbean.ManagedService
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
Constructor Details
-
ManagedThrottlingExceptionRoutePolicy
public ManagedThrottlingExceptionRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingExceptionRoutePolicy policy)
-
-
Method Details
-
getPolicy
-
getExceptionTypes
- Specified by:
getExceptionTypesin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getHalfOpenAfter
- Specified by:
getHalfOpenAfterin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
setHalfOpenAfter
- Specified by:
setHalfOpenAfterin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getFailureWindow
- Specified by:
getFailureWindowin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
setFailureWindow
- Specified by:
setFailureWindowin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getFailureThreshold
- Specified by:
getFailureThresholdin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
setFailureThreshold
- Specified by:
setFailureThresholdin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
currentState
- Specified by:
currentStatein interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getHalfOpenHandlerName
- Specified by:
getHalfOpenHandlerNamein interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getCurrentFailures
- Specified by:
getCurrentFailuresin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getLastFailure
- Specified by:
getLastFailurein interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-
getOpenAt
- Specified by:
getOpenAtin interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingExceptionRoutePolicyMBean
-