org.apache.camel.management.mbean
Class ManagedConsumer
java.lang.Object
org.apache.camel.management.mbean.ManagedService
org.apache.camel.management.mbean.ManagedConsumer
- All Implemented Interfaces:
- ManagedInstance, ManagedConsumerMBean, ManagedServiceMBean
- Direct Known Subclasses:
- ManagedScheduledPollConsumer
@ManagedResource(description="Managed Consumer")
public class ManagedConsumer
- extends ManagedService
- implements ManagedConsumerMBean
- Version:
Methods inherited from class org.apache.camel.management.mbean.ManagedService |
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, 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 |
ManagedConsumer
public ManagedConsumer(CamelContext context,
Consumer consumer)
init
public void init(ManagementStrategy strategy)
- Overrides:
init
in class ManagedService
getConsumer
public Consumer getConsumer()
getEndpointUri
public String getEndpointUri()
- Specified by:
getEndpointUri
in interface ManagedConsumerMBean
getInflightExchanges
public Integer getInflightExchanges()
- Specified by:
getInflightExchanges
in interface ManagedConsumerMBean
Apache Camel