org.apache.camel.api.management.mbean
Interface ManagedServiceMBean

All Known Subinterfaces:
ManagedConsumerCacheMBean, ManagedConsumerMBean, ManagedEndpointRegistryMBean, ManagedProducerCacheMBean, ManagedProducerMBean, ManagedSchedulePollConsumerMBean, ManagedThrottlingInflightRoutePolicyMBean, ManagedTypeConverterRegistryMBean
All Known Implementing Classes:
ManagedConsumer, ManagedConsumerCache, ManagedEndpointRegistry, ManagedProducer, ManagedProducerCache, ManagedScheduledPollConsumer, ManagedService, ManagedThrottlingInflightRoutePolicy, ManagedTypeConverterRegistry

public interface ManagedServiceMBean


Method Summary
 String getCamelId()
           
 String getRouteId()
           
 String getState()
           
 boolean isSupportSuspension()
           
 boolean isSuspended()
           
 void resume()
           
 void start()
           
 void stop()
           
 void suspend()
           
 

Method Detail

getState

@ManagedAttribute(description="Service State")
String getState()

getCamelId

@ManagedAttribute(description="Camel ID")
String getCamelId()

getRouteId

@ManagedAttribute(description="Route ID")
String getRouteId()

start

@ManagedOperation(description="Start Service")
void start()
           throws Exception
Throws:
Exception

stop

@ManagedOperation(description="Stop Service")
void stop()
          throws Exception
Throws:
Exception

isSupportSuspension

@ManagedAttribute(description="Whether this service supports suspension")
boolean isSupportSuspension()

isSuspended

@ManagedAttribute(description="Whether this service is suspended")
boolean isSuspended()

suspend

@ManagedOperation(description="Suspend Service")
void suspend()
             throws Exception
Throws:
Exception

resume

@ManagedOperation(description="Resume Service")
void resume()
            throws Exception
Throws:
Exception


Apache CAMEL