Class ManagedThrottlingInflightRoutePolicy
java.lang.Object
org.apache.camel.management.mbean.ManagedService
org.apache.camel.management.mbean.ManagedThrottlingInflightRoutePolicy
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance
,org.apache.camel.api.management.mbean.ManagedServiceMBean
,org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
@ManagedResource(description="Managed ThrottlingInflightRoutePolicy")
public class ManagedThrottlingInflightRoutePolicy
extends ManagedService
implements org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
Constructor Summary
ConstructorDescriptionManagedThrottlingInflightRoutePolicy
(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingInflightRoutePolicy policy) -
Method Summary
Modifier and TypeMethodDescriptionint
org.apache.camel.throttling.ThrottlingInflightRoutePolicy
int
getScope()
void
setLoggingLevel
(String loggingLevel) void
setMaxInflightExchanges
(int maxInflightExchanges) void
setResumePercentOfMax
(int resumePercentOfMax) void
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, suspend
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
Constructor Details
-
ManagedThrottlingInflightRoutePolicy
public ManagedThrottlingInflightRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingInflightRoutePolicy policy)
-
-
Method Details
-
getPolicy
-
getMaxInflightExchanges
- Specified by:
getMaxInflightExchanges
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setMaxInflightExchanges
- Specified by:
setMaxInflightExchanges
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
getResumePercentOfMax
- Specified by:
getResumePercentOfMax
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setResumePercentOfMax
- Specified by:
setResumePercentOfMax
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
getScope
- Specified by:
getScope
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setScope
- Specified by:
setScope
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
getLoggingLevel
- Specified by:
getLoggingLevel
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setLoggingLevel
- Specified by:
setLoggingLevel
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-