org.apache.camel.management.mbean
Class ManagedScheduledPollConsumer

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

@ManagedResource(description="Managed Scheduled Polling Consumer")
public class ManagedScheduledPollConsumer
extends ManagedConsumer

Version:

Constructor Summary
ManagedScheduledPollConsumer(CamelContext context, ScheduledPollConsumer consumer)
           
 
Method Summary
 ScheduledPollConsumer getConsumer()
           
 long getDelay()
           
 long getInitialDelay()
           
 String getTimeUnit()
           
 boolean isUseFixedDelay()
           
 void setDelay(long delay)
           
 void setInitialDelay(long initialDelay)
           
 void setTimeUnit(String timeUnit)
           
 void setUseFixedDelay(boolean useFixedDelay)
           
 
Methods inherited from class org.apache.camel.management.mbean.ManagedConsumer
getEndpointUri, 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

ManagedScheduledPollConsumer

public ManagedScheduledPollConsumer(CamelContext context,
                                    ScheduledPollConsumer consumer)
Method Detail

getConsumer

public ScheduledPollConsumer getConsumer()
Overrides:
getConsumer in class ManagedConsumer

getDelay

@ManagedAttribute(description="Scheduled Delay")
public long getDelay()

setDelay

@ManagedAttribute(description="Scheduled Delay")
public void setDelay(long delay)

getInitialDelay

@ManagedAttribute(description="Scheduled Initial Delay")
public long getInitialDelay()

setInitialDelay

@ManagedAttribute(description="Scheduled Initial Delay")
public void setInitialDelay(long initialDelay)

isUseFixedDelay

@ManagedAttribute(description="Scheduled Fixed Delay")
public boolean isUseFixedDelay()

setUseFixedDelay

@ManagedAttribute(description="Scheduled Fixed Delay")
public void setUseFixedDelay(boolean useFixedDelay)

getTimeUnit

@ManagedAttribute(description="Scheduled TimeUnit")
public String getTimeUnit()

setTimeUnit

@ManagedAttribute(description="Scheduled TimeUnit")
public void setTimeUnit(String timeUnit)


Apache CAMEL