Package 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 instantiatesExecutorServiceobjects
-
-
Constructor Summary
Constructors Constructor Description AbstractCamelThreadPoolFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAllowCoreThreadTimeOut()StringgetKeepAliveTime()StringgetMaxPoolSize()StringgetMaxQueueSize()ExecutorServicegetObject()Class<ExecutorService>getObjectType()StringgetPoolSize()StringgetRejectedPolicy()BooleangetScheduled()StringgetThreadName()StringgetTimeUnit()voidsetAllowCoreThreadTimeOut(String allowCoreThreadTimeOut)voidsetKeepAliveTime(String keepAliveTime)voidsetMaxPoolSize(String maxPoolSize)voidsetMaxQueueSize(String maxQueueSize)voidsetPoolSize(String poolSize)voidsetRejectedPolicy(String rejectedPolicy)voidsetScheduled(Boolean scheduled)voidsetThreadName(String threadName)voidsetTimeUnit(String timeUnit)-
Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean
afterPropertiesSet, destroy, discoverDefaultCamelContext, getCamelContext, getCamelContextId, getCamelContextWithId, getCustomId, isSingleton, setCamelContext, setCamelContextId, setCustomId
-
-
-
-
Method Detail
-
getObject
public ExecutorService getObject() throws Exception
- Specified by:
getObjectin classAbstractCamelFactoryBean<ExecutorService>- Throws:
Exception
-
getObjectType
public Class<ExecutorService> getObjectType()
- Specified by:
getObjectTypein classAbstractCamelFactoryBean<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 String getTimeUnit()
-
setTimeUnit
public void setTimeUnit(String timeUnit)
-
getMaxQueueSize
public String getMaxQueueSize()
-
setMaxQueueSize
public void setMaxQueueSize(String maxQueueSize)
-
getAllowCoreThreadTimeOut
public String getAllowCoreThreadTimeOut()
-
setAllowCoreThreadTimeOut
public void setAllowCoreThreadTimeOut(String allowCoreThreadTimeOut)
-
getRejectedPolicy
public String getRejectedPolicy()
-
setRejectedPolicy
public void setRejectedPolicy(String rejectedPolicy)
-
getThreadName
public String getThreadName()
-
setThreadName
public void setThreadName(String threadName)
-
getScheduled
public Boolean getScheduled()
-
setScheduled
public void setScheduled(Boolean scheduled)
-
-