org.apache.camel.core.xml
Class AbstractCamelThreadPoolFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelFactoryBean<ExecutorService>
org.apache.camel.core.xml.AbstractCamelThreadPoolFactoryBean
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware
public abstract class AbstractCamelThreadPoolFactoryBean
- extends AbstractCamelFactoryBean<ExecutorService>
A factory which instantiates ExecutorService
objects
- Version:
Methods inherited from class org.apache.camel.model.IdentifiedType |
getId, setId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCamelThreadPoolFactoryBean
public AbstractCamelThreadPoolFactoryBean()
getObject
public ExecutorService getObject()
throws Exception
- Specified by:
getObject
in class AbstractCamelFactoryBean<ExecutorService>
- Throws:
Exception
getCamelContextWithId
protected abstract org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)
- Specified by:
getCamelContextWithId
in class AbstractCamelFactoryBean<ExecutorService>
getObjectType
public Class<ExecutorService> getObjectType()
- Specified by:
getObjectType
in class AbstractCamelFactoryBean<ExecutorService>
getPoolSize
public String getPoolSize()
setPoolSize
public void setPoolSize(String poolSize)
getMaxPoolSize
public String getMaxPoolSize()
setMaxPoolSize
public void setMaxPoolSize(String maxPoolSize)
getKeepAliveTime
public String getKeepAliveTime()
setKeepAliveTime
public void setKeepAliveTime(String keepAliveTime)
getTimeUnit
public TimeUnit getTimeUnit()
setTimeUnit
public void setTimeUnit(TimeUnit timeUnit)
getMaxQueueSize
public String getMaxQueueSize()
setMaxQueueSize
public void setMaxQueueSize(String maxQueueSize)
getRejectedPolicy
public org.apache.camel.ThreadPoolRejectedPolicy getRejectedPolicy()
setRejectedPolicy
public void setRejectedPolicy(org.apache.camel.ThreadPoolRejectedPolicy rejectedPolicy)
getThreadName
public String getThreadName()
setThreadName
public void setThreadName(String threadName)
Apache CAMEL