public interface MessageInFlightMBean extends ChildRuntimeInfoComponentMBean
Modifier and Type | Method and Description |
---|---|
boolean |
messagesInFlight()
Whether or not there are any messages in flight for the workflow.
|
int |
messagesInFlightCount()
Return the count of messages that are currently in flight.
|
int |
messagesPendingCount()
Return the count of messages that are currently queued.
|
getParentId, getParentObjectName
createObjectName, registerMBean, unregisterMBean
boolean messagesInFlight()
int messagesInFlightCount()
Other than PoolingWorkflow
, this will generally return 1 or 0. PoolingWorkflow
will at most return
PoolingWorkflow.getPoolSize()
. It is included for completeness.
int messagesPendingCount()
This only makes sense for PoolingWorkflow
as other workflows are single threaded; so will most likely return 0. In the
context of PoolingWorkflow, this is the number of messages that have been submitted to the workflow, but have not yet been
processed.
JettyNoBacklogInterceptor