org.apache.camel.core.xml
Class AbstractCamelThreadPoolFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelFactoryBean<java.util.concurrent.ExecutorService>
org.apache.camel.core.xml.AbstractCamelThreadPoolFactoryBean
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware
public abstract class AbstractCamelThreadPoolFactoryBean
- extends AbstractCamelFactoryBean<java.util.concurrent.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 java.util.concurrent.ExecutorService getObject()
throws java.lang.Exception
- Specified by:
getObject in class AbstractCamelFactoryBean<java.util.concurrent.ExecutorService>
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class<java.util.concurrent.ExecutorService> getObjectType()
- Specified by:
getObjectType in class AbstractCamelFactoryBean<java.util.concurrent.ExecutorService>
getPoolSize
public java.lang.String getPoolSize()
setPoolSize
public void setPoolSize(java.lang.String poolSize)
getMaxPoolSize
public java.lang.String getMaxPoolSize()
setMaxPoolSize
public void setMaxPoolSize(java.lang.String maxPoolSize)
getKeepAliveTime
public java.lang.String getKeepAliveTime()
setKeepAliveTime
public void setKeepAliveTime(java.lang.String keepAliveTime)
getTimeUnit
public java.util.concurrent.TimeUnit getTimeUnit()
setTimeUnit
public void setTimeUnit(java.util.concurrent.TimeUnit timeUnit)
getMaxQueueSize
public java.lang.String getMaxQueueSize()
setMaxQueueSize
public void setMaxQueueSize(java.lang.String maxQueueSize)
getRejectedPolicy
public org.apache.camel.ThreadPoolRejectedPolicy getRejectedPolicy()
setRejectedPolicy
public void setRejectedPolicy(org.apache.camel.ThreadPoolRejectedPolicy rejectedPolicy)
getThreadName
public java.lang.String getThreadName()
setThreadName
public void setThreadName(java.lang.String threadName)
Apache CAMEL