Package org.apache.camel.support.cache
Class EmptyProducerCache
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.cache.DefaultProducerCache
org.apache.camel.support.cache.EmptyProducerCache
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.ProducerCache,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.camel.spi.ProducerCache
org.apache.camel.spi.ProducerCache.AsyncProducerCallback -
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
ConstructorsConstructorDescriptionEmptyProducerCache(Object source, org.apache.camel.CamelContext camelContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.AsyncProduceracquireProducer(org.apache.camel.Endpoint endpoint) intvoidreleaseProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer) toString()Methods inherited from class org.apache.camel.support.cache.DefaultProducerCache
asyncDispatchExchange, asyncSendExchange, cleanUp, createServicePool, doAsyncSendExchange, doBuild, doInAsyncProducer, doInit, doShutdown, doStart, doStop, getCamelContext, getEndpointUtilizationStatistics, getSource, isEventNotifierEnabled, isExtendedStatistics, purge, send, setEventNotifierEnabled, setExtendedStatistics, sizeMethods inherited from class org.apache.camel.support.service.BaseService
build, doFail, doLifecycleChange, doResume, doSuspend, fail, getInternalLock, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
EmptyProducerCache
-
-
Method Details
-
acquireProducer
public org.apache.camel.AsyncProducer acquireProducer(org.apache.camel.Endpoint endpoint) - Specified by:
acquireProducerin interfaceorg.apache.camel.spi.ProducerCache- Overrides:
acquireProducerin classDefaultProducerCache
-
releaseProducer
public void releaseProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer) - Specified by:
releaseProducerin interfaceorg.apache.camel.spi.ProducerCache- Overrides:
releaseProducerin classDefaultProducerCache
-
getCapacity
public int getCapacity()- Specified by:
getCapacityin interfaceorg.apache.camel.spi.ProducerCache- Overrides:
getCapacityin classDefaultProducerCache
-
toString
- Overrides:
toStringin classDefaultProducerCache
-