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
Constructors Constructor Description ManagedThrottlingInflightRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingInflightRoutePolicy policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLoggingLevel()
int
getMaxInflightExchanges()
org.apache.camel.throttling.ThrottlingInflightRoutePolicy
getPolicy()
int
getResumePercentOfMax()
String
getScope()
void
setLoggingLevel(String loggingLevel)
void
setMaxInflightExchanges(int maxInflightExchanges)
void
setResumePercentOfMax(int resumePercentOfMax)
void
setScope(String scope)
-
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
-
-
-
-
Constructor Detail
-
ManagedThrottlingInflightRoutePolicy
public ManagedThrottlingInflightRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingInflightRoutePolicy policy)
-
-
Method Detail
-
getPolicy
public org.apache.camel.throttling.ThrottlingInflightRoutePolicy getPolicy()
-
getMaxInflightExchanges
public int getMaxInflightExchanges()
- Specified by:
getMaxInflightExchanges
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setMaxInflightExchanges
public void setMaxInflightExchanges(int maxInflightExchanges)
- Specified by:
setMaxInflightExchanges
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
getResumePercentOfMax
public int getResumePercentOfMax()
- Specified by:
getResumePercentOfMax
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setResumePercentOfMax
public void setResumePercentOfMax(int resumePercentOfMax)
- Specified by:
setResumePercentOfMax
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
getScope
public String getScope()
- Specified by:
getScope
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setScope
public void setScope(String scope)
- Specified by:
setScope
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
getLoggingLevel
public String getLoggingLevel()
- Specified by:
getLoggingLevel
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
setLoggingLevel
public void setLoggingLevel(String loggingLevel)
- Specified by:
setLoggingLevel
in interfaceorg.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
-
-