org.apache.camel.management.mbean
Class ManagedConsumer

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedService
      extended by org.apache.camel.management.mbean.ManagedConsumer
All Implemented Interfaces:
ManagedInstance
Direct Known Subclasses:
ManagedScheduledPollConsumer

@ManagedResource(description="Managed Consumer")
public class ManagedConsumer
extends ManagedService

Version:

Constructor Summary
ManagedConsumer(CamelContext context, Consumer consumer)
           
 
Method Summary
 Consumer getConsumer()
           
 String getEndpointUri()
           
 Integer getInflightExchanges()
           
 
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
 

Constructor Detail

ManagedConsumer

public ManagedConsumer(CamelContext context,
                       Consumer consumer)
Method Detail

getConsumer

public Consumer getConsumer()

getEndpointUri

@ManagedAttribute(description="Endpoint Uri")
public String getEndpointUri()

getInflightExchanges

@ManagedAttribute(description="Current number of inflight Exchanges")
public Integer getInflightExchanges()


Apache CAMEL