Interface ManagedSchedulePollConsumerMBean
- All Superinterfaces:
ManagedConsumerMBean, ManagedServiceMBean
-
Method Summary
Modifier and TypeMethodDescriptionintintintintlonglonggetDelay()longlonglonglongbooleanbooleanbooleanisGreedy()booleanbooleanbooleanbooleanvoidsetDelay(long delay) voidsetGreedy(boolean greedy) voidsetInitialDelay(long initialDelay) voidsetRunningLoggingLevel(String runningLoggingLevel) voidsetSendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle) voidsetTimeUnit(String timeUnit) voidsetUseFixedDelay(boolean useFixedDelay) voidMethods inherited from interface ManagedConsumerMBean
getEndpointUri, getInflightExchanges, isHostedService, isRemoteEndpointMethods inherited from interface ManagedServiceMBean
getCamelId, getCamelManagementName, getRouteId, getServiceType, getState, isStaticService, isSupportSuspension, isSuspended, resume, start, stop, suspend
-
Method Details
-
getDelay
-
setDelay
-
getInitialDelay
-
setInitialDelay
-
isUseFixedDelay
-
setUseFixedDelay
-
isGreedy
-
setGreedy
-
isSendEmptyMessageWhenIdle
@ManagedAttribute(description="If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead") boolean isSendEmptyMessageWhenIdle() -
setSendEmptyMessageWhenIdle
@ManagedAttribute(description="If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead") void setSendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle) -
getRunningLoggingLevel
@ManagedAttribute(description="The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.") String getRunningLoggingLevel() -
setRunningLoggingLevel
@ManagedAttribute(description="The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.") void setRunningLoggingLevel(String runningLoggingLevel) -
getTimeUnit
-
setTimeUnit
-
isPolling
-
isSchedulerStarted
-
startScheduler
-
getSchedulerClassName
-
getBackoffMultiplier
-
getBackoffIdleThreshold
-
getBackoffErrorThreshold
-
getBackoffCounter
-
getRepeatCount
-
isFirstPollDone
@ManagedAttribute(description="Whether a first pool attempt has been done (also if the consumer has been restarted)") boolean isFirstPollDone() -
isConsumerReady
@ManagedAttribute(description="Whether the consumer is ready to handle incoming traffic (used for readiness health-check)") boolean isConsumerReady() -
getCounter
-
getErrorCounter
@ManagedAttribute(description="Error counter. If the counter is > 0 that means the consumer failed polling for the last N number of times. When the consumer is successfully again, then the error counter resets to zero.") long getErrorCounter() -
getSuccessCounter
@ManagedAttribute(description="Success counter. If the success is > 0 that means the consumer succeeded polling for the last N number of times. When the consumer is failing again, then the success counter resets to zero.") long getSuccessCounter()
-