public class DefaultPollingConsumerServicePool extends DefaultServicePool<Endpoint,PollingConsumer>
PollingConsumer
.
For instance camel-jms leverages this to allow a pool of pollingConsumers so we
can support concurrent pollingConsumer in a thread safe manner.capacity, log, pool
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
DefaultPollingConsumerServicePool() |
DefaultPollingConsumerServicePool(int capacity) |
acquire, addAndAcquire, doStart, doStop, getCapacity, purge, release, setCapacity, size
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public DefaultPollingConsumerServicePool()
public DefaultPollingConsumerServicePool(int capacity)
Apache Camel