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,org.apache.camel.spi.HasCamelContext
public abstract class AbstractCamelThreadPoolFactoryBean
extends AbstractCamelFactoryBean<ExecutorService>
A factory which instantiates
ExecutorService objects-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAllowCoreThreadTimeOut(String allowCoreThreadTimeOut) voidsetKeepAliveTime(String keepAliveTime) voidsetMaxPoolSize(String maxPoolSize) voidsetMaxQueueSize(String maxQueueSize) voidsetPoolSize(String poolSize) voidsetRejectedPolicy(String rejectedPolicy) voidsetScheduled(String 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, setCustomIdMethods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
Constructor Details
-
AbstractCamelThreadPoolFactoryBean
public AbstractCamelThreadPoolFactoryBean()
-
-
Method Details
-
getObject
- Specified by:
getObjectin classAbstractCamelFactoryBean<ExecutorService>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein classAbstractCamelFactoryBean<ExecutorService>
-
getPoolSize
-
setPoolSize
-
getMaxPoolSize
-
setMaxPoolSize
-
getKeepAliveTime
-
setKeepAliveTime
-
getTimeUnit
-
setTimeUnit
-
getMaxQueueSize
-
setMaxQueueSize
-
getAllowCoreThreadTimeOut
-
setAllowCoreThreadTimeOut
-
getRejectedPolicy
-
setRejectedPolicy
-
getThreadName
-
setThreadName
-
getScheduled
-
setScheduled
-