org.apache.camel.management.mbean
Class ManagedThrottlingInflightRoutePolicy
java.lang.Object
org.apache.camel.management.mbean.ManagedService
org.apache.camel.management.mbean.ManagedThrottlingInflightRoutePolicy
- All Implemented Interfaces:
- ManagedInstance, ManagedServiceMBean, ManagedThrottlingInflightRoutePolicyMBean
@ManagedResource(description="Managed ThrottlingInflightRoutePolicy")
public class ManagedThrottlingInflightRoutePolicy
- extends ManagedService
- implements ManagedThrottlingInflightRoutePolicyMBean
- Version:
| Methods inherited from class org.apache.camel.management.mbean.ManagedService |
getCamelId, getContext, getInstance, getRoute, getRouteId, getService, getState, init, 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 |
ManagedThrottlingInflightRoutePolicy
public ManagedThrottlingInflightRoutePolicy(CamelContext context,
ThrottlingInflightRoutePolicy policy)
getPolicy
public ThrottlingInflightRoutePolicy getPolicy()
getMaxInflightExchanges
public int getMaxInflightExchanges()
- Specified by:
getMaxInflightExchanges in interface ManagedThrottlingInflightRoutePolicyMBean
setMaxInflightExchanges
public void setMaxInflightExchanges(int maxInflightExchanges)
- Specified by:
setMaxInflightExchanges in interface ManagedThrottlingInflightRoutePolicyMBean
getResumePercentOfMax
public int getResumePercentOfMax()
- Specified by:
getResumePercentOfMax in interface ManagedThrottlingInflightRoutePolicyMBean
setResumePercentOfMax
public void setResumePercentOfMax(int resumePercentOfMax)
- Specified by:
setResumePercentOfMax in interface ManagedThrottlingInflightRoutePolicyMBean
getScope
public String getScope()
- Specified by:
getScope in interface ManagedThrottlingInflightRoutePolicyMBean
setScope
public void setScope(String scope)
- Specified by:
setScope in interface ManagedThrottlingInflightRoutePolicyMBean
getLoggingLevel
public String getLoggingLevel()
- Specified by:
getLoggingLevel in interface ManagedThrottlingInflightRoutePolicyMBean
setLoggingLevel
public void setLoggingLevel(String loggingLevel)
- Specified by:
setLoggingLevel in interface ManagedThrottlingInflightRoutePolicyMBean
Apache CAMEL