Interface ManagedSchedulePollConsumerMBean
- All Superinterfaces:
ManagedConsumerMBean
,ManagedServiceMBean
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
long
long
getDelay()
long
long
long
long
boolean
boolean
boolean
isGreedy()
boolean
boolean
boolean
boolean
void
setDelay
(long delay) void
setGreedy
(boolean greedy) void
setInitialDelay
(long initialDelay) void
setRunningLoggingLevel
(String runningLoggingLevel) void
setSendEmptyMessageWhenIdle
(boolean sendEmptyMessageWhenIdle) void
setTimeUnit
(String timeUnit) void
setUseFixedDelay
(boolean useFixedDelay) void
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedConsumerMBean
getEndpointUri, getInflightExchanges
Methods inherited from interface org.apache.camel.api.management.mbean.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()
-