public class PrototypeProcessorExchangeFactory
extends org.apache.camel.support.PooledObjectFactorySupport<org.apache.camel.Exchange>
implements org.apache.camel.spi.ProcessorExchangeFactory
ProcessorExchangeFactory that creates a new Exchange instance.camelContext, capacity, pool, source, statistics, statisticsEnabled| Constructor and Description |
|---|
PrototypeProcessorExchangeFactory() |
PrototypeProcessorExchangeFactory(org.apache.camel.Processor processor) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.Exchange |
acquire() |
org.apache.camel.Exchange |
create(org.apache.camel.Endpoint fromEndpoint,
org.apache.camel.ExchangePattern exchangePattern) |
org.apache.camel.Exchange |
createCopy(org.apache.camel.Exchange exchange) |
org.apache.camel.Exchange |
createCorrelatedCopy(org.apache.camel.Exchange exchange,
boolean handover) |
protected void |
doStop() |
String |
getId() |
org.apache.camel.Processor |
getProcessor() |
String |
getRouteId() |
boolean |
isPooled() |
org.apache.camel.spi.ProcessorExchangeFactory |
newProcessorExchangeFactory(org.apache.camel.Processor processor) |
boolean |
release(org.apache.camel.Exchange exchange) |
void |
setId(String id) |
void |
setRouteId(String routeId) |
doBuild, doShutdown, getCamelContext, getCapacity, getSize, getStatistics, isStatisticsEnabled, purge, resetStatistics, setCamelContext, setCapacity, setStatisticsEnabledbuild, doFail, doInit, doLifecycleChange, doResume, doStart, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapacity, getSize, getStatistics, isStatisticsEnabled, purge, resetStatistics, setCapacity, setStatisticsEnabledgetCamelContext, setCamelContext, trySetCamelContextpublic PrototypeProcessorExchangeFactory()
public PrototypeProcessorExchangeFactory(org.apache.camel.Processor processor)
public String getRouteId()
getRouteId in interface org.apache.camel.spi.RouteIdAwarepublic void setRouteId(String routeId)
setRouteId in interface org.apache.camel.spi.RouteIdAwarepublic String getId()
getId in interface org.apache.camel.spi.HasIdpublic void setId(String id)
setId in interface org.apache.camel.spi.IdAwarepublic org.apache.camel.Processor getProcessor()
getProcessor in interface org.apache.camel.spi.ProcessorExchangeFactorypublic org.apache.camel.spi.ProcessorExchangeFactory newProcessorExchangeFactory(org.apache.camel.Processor processor)
newProcessorExchangeFactory in interface org.apache.camel.spi.ProcessorExchangeFactorypublic org.apache.camel.Exchange createCopy(org.apache.camel.Exchange exchange)
createCopy in interface org.apache.camel.spi.ProcessorExchangeFactorypublic org.apache.camel.Exchange createCorrelatedCopy(org.apache.camel.Exchange exchange,
boolean handover)
createCorrelatedCopy in interface org.apache.camel.spi.ProcessorExchangeFactorypublic org.apache.camel.Exchange create(org.apache.camel.Endpoint fromEndpoint,
org.apache.camel.ExchangePattern exchangePattern)
create in interface org.apache.camel.spi.ProcessorExchangeFactorypublic org.apache.camel.Exchange acquire()
acquire in interface org.apache.camel.spi.PooledObjectFactory<org.apache.camel.Exchange>public boolean release(org.apache.camel.Exchange exchange)
release in interface org.apache.camel.spi.PooledObjectFactory<org.apache.camel.Exchange>release in interface org.apache.camel.spi.ProcessorExchangeFactorypublic boolean isPooled()
isPooled in interface org.apache.camel.spi.PooledObjectFactory<org.apache.camel.Exchange>isPooled in class org.apache.camel.support.PooledObjectFactorySupport<org.apache.camel.Exchange>Apache Camel