@ManagedResource(description="Managed Scheduled Polling Consumer") public class ManagedScheduledPollConsumer extends ManagedConsumer implements ManagedSchedulePollConsumerMBean
Constructor and Description |
---|
ManagedScheduledPollConsumer(CamelContext context,
ScheduledPollConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
int |
getBackoffCounter() |
int |
getBackoffErrorThreshold() |
int |
getBackoffIdleThreshold() |
int |
getBackoffMultiplier() |
ScheduledPollConsumer |
getConsumer() |
long |
getDelay() |
long |
getInitialDelay() |
String |
getSchedulerClassName() |
String |
getTimeUnit() |
boolean |
isSchedulerStarted() |
boolean |
isUseFixedDelay() |
void |
setDelay(long delay) |
void |
setInitialDelay(long initialDelay) |
void |
setTimeUnit(String timeUnit) |
void |
setUseFixedDelay(boolean useFixedDelay) |
void |
startScheduler() |
getEndpointUri, getInflightExchanges
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpointUri, getInflightExchanges
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
public ManagedScheduledPollConsumer(CamelContext context, ScheduledPollConsumer consumer)
public ScheduledPollConsumer getConsumer()
getConsumer
in class ManagedConsumer
public long getDelay()
getDelay
in interface ManagedSchedulePollConsumerMBean
public void setDelay(long delay)
setDelay
in interface ManagedSchedulePollConsumerMBean
public long getInitialDelay()
getInitialDelay
in interface ManagedSchedulePollConsumerMBean
public void setInitialDelay(long initialDelay)
setInitialDelay
in interface ManagedSchedulePollConsumerMBean
public boolean isUseFixedDelay()
isUseFixedDelay
in interface ManagedSchedulePollConsumerMBean
public void setUseFixedDelay(boolean useFixedDelay)
setUseFixedDelay
in interface ManagedSchedulePollConsumerMBean
public String getTimeUnit()
getTimeUnit
in interface ManagedSchedulePollConsumerMBean
public void setTimeUnit(String timeUnit)
setTimeUnit
in interface ManagedSchedulePollConsumerMBean
public boolean isSchedulerStarted()
isSchedulerStarted
in interface ManagedSchedulePollConsumerMBean
public void startScheduler()
startScheduler
in interface ManagedSchedulePollConsumerMBean
public String getSchedulerClassName()
getSchedulerClassName
in interface ManagedSchedulePollConsumerMBean
public int getBackoffMultiplier()
getBackoffMultiplier
in interface ManagedSchedulePollConsumerMBean
public int getBackoffIdleThreshold()
getBackoffIdleThreshold
in interface ManagedSchedulePollConsumerMBean
public int getBackoffErrorThreshold()
getBackoffErrorThreshold
in interface ManagedSchedulePollConsumerMBean
public int getBackoffCounter()
getBackoffCounter
in interface ManagedSchedulePollConsumerMBean
Apache Camel