org.apache.camel.impl
Class DefaultProducerServicePool

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultServicePool<Endpoint,Producer>
          extended by org.apache.camel.impl.DefaultProducerServicePool
All Implemented Interfaces:
Service, ShutdownableService, ServicePool<Endpoint,Producer>, StatefulService, SuspendableService
Direct Known Subclasses:
SharedProducerServicePool

public class DefaultProducerServicePool
extends DefaultServicePool<Endpoint,Producer>

A service pool for 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.

Version:

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultServicePool
capacity, log, pool
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
DefaultProducerServicePool()
           
DefaultProducerServicePool(int capacity)
           
 
Method Summary
 
Methods inherited from class org.apache.camel.impl.DefaultServicePool
acquire, addAndAcquire, doStart, doStop, getCapacity, purge, release, setCapacity, size
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProducerServicePool

public DefaultProducerServicePool()

DefaultProducerServicePool

public DefaultProducerServicePool(int capacity)


Apache CAMEL