@ManagedResource(description="Managed ThrottlingInflightRoutePolicy") public class ManagedThrottlingInflightRoutePolicy extends ManagedService implements org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
Constructor and Description |
---|
ManagedThrottlingInflightRoutePolicy(org.apache.camel.CamelContext context,
org.apache.camel.throttling.ThrottlingInflightRoutePolicy policy) |
Modifier and Type | Method and 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) |
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
public ManagedThrottlingInflightRoutePolicy(org.apache.camel.CamelContext context, org.apache.camel.throttling.ThrottlingInflightRoutePolicy policy)
public org.apache.camel.throttling.ThrottlingInflightRoutePolicy getPolicy()
public int getMaxInflightExchanges()
getMaxInflightExchanges
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public void setMaxInflightExchanges(int maxInflightExchanges)
setMaxInflightExchanges
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public int getResumePercentOfMax()
getResumePercentOfMax
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public void setResumePercentOfMax(int resumePercentOfMax)
setResumePercentOfMax
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public String getScope()
getScope
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public void setScope(String scope)
setScope
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public String getLoggingLevel()
getLoggingLevel
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
public void setLoggingLevel(String loggingLevel)
setLoggingLevel
in interface org.apache.camel.api.management.mbean.ManagedThrottlingInflightRoutePolicyMBean
Apache Camel