public class DefaultProducerServicePool extends DefaultServicePool<Endpoint,Producer>
Producer
.
For instance camel-mina and camel-ftp leverages this to allow a pool of producers so we
can support concurrent producers in a thread safe manner.capacity, log, pool
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
DefaultProducerServicePool() |
DefaultProducerServicePool(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
Apache Camel