public class EmptyProducerCache extends DefaultProducerCache
Constructor and Description |
---|
EmptyProducerCache(Object source,
org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.AsyncProducer |
acquireProducer(org.apache.camel.Endpoint endpoint) |
int |
getCapacity() |
void |
releaseProducer(org.apache.camel.Endpoint endpoint,
org.apache.camel.AsyncProducer producer) |
String |
toString() |
asyncDispatchExchange, asyncSend, asyncSendExchange, cleanUp, createServicePool, doAsyncSendExchange, doInAsyncProducer, doInit, doShutdown, doStart, doStop, getCamelContext, getEndpointUtilizationStatistics, getSource, isEventNotifierEnabled, isExtendedStatistics, purge, send, setEventNotifierEnabled, setExtendedStatistics, size
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public EmptyProducerCache(Object source, org.apache.camel.CamelContext camelContext)
public org.apache.camel.AsyncProducer acquireProducer(org.apache.camel.Endpoint endpoint)
acquireProducer
in interface org.apache.camel.spi.ProducerCache
acquireProducer
in class DefaultProducerCache
public void releaseProducer(org.apache.camel.Endpoint endpoint, org.apache.camel.AsyncProducer producer)
releaseProducer
in interface org.apache.camel.spi.ProducerCache
releaseProducer
in class DefaultProducerCache
public int getCapacity()
getCapacity
in interface org.apache.camel.spi.ProducerCache
getCapacity
in class DefaultProducerCache
public String toString()
toString
in class DefaultProducerCache
Apache Camel