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 instantiatesExecutorService
objects
-
-
Constructor Summary
Constructors Constructor Description AbstractCamelThreadPoolFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAllowCoreThreadTimeOut()
String
getKeepAliveTime()
String
getMaxPoolSize()
String
getMaxQueueSize()
ExecutorService
getObject()
Class<ExecutorService>
getObjectType()
String
getPoolSize()
String
getRejectedPolicy()
String
getScheduled()
String
getThreadName()
String
getTimeUnit()
void
setAllowCoreThreadTimeOut(String allowCoreThreadTimeOut)
void
setKeepAliveTime(String keepAliveTime)
void
setMaxPoolSize(String maxPoolSize)
void
setMaxQueueSize(String maxQueueSize)
void
setPoolSize(String poolSize)
void
setRejectedPolicy(String rejectedPolicy)
void
setScheduled(String scheduled)
void
setThreadName(String threadName)
void
setTimeUnit(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:
getObject
in classAbstractCamelFactoryBean<ExecutorService>
- Throws:
Exception
-
getObjectType
public Class<ExecutorService> getObjectType()
- Specified by:
getObjectType
in 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 String getScheduled()
-
setScheduled
public void setScheduled(String scheduled)
-
-