Package org.apache.camel.impl.engine
Class EmptyProducerCache
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.impl.engine.DefaultProducerCache
-
- org.apache.camel.impl.engine.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
public class EmptyProducerCache extends DefaultProducerCache
-
-
Constructor Summary
Constructors Constructor Description EmptyProducerCache(Object source, org.apache.camel.CamelContext camelContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.AsyncProduceracquireProducer(org.apache.camel.Endpoint endpoint)intgetCapacity()voidreleaseProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer)StringtoString()-
Methods inherited from class org.apache.camel.impl.engine.DefaultProducerCache
asyncDispatchExchange, asyncSend, asyncSendExchange, cleanUp, createServicePool, doAsyncSendExchange, doInAsyncProducer, doInit, doShutdown, doStart, doStop, getCamelContext, getEndpointUtilizationStatistics, getSource, isEventNotifierEnabled, isExtendedStatistics, purge, send, setEventNotifierEnabled, setExtendedStatistics, size
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
EmptyProducerCache
public EmptyProducerCache(Object source, org.apache.camel.CamelContext camelContext)
-
-
Method Detail
-
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
public String toString()
- Overrides:
toStringin classDefaultProducerCache
-
-