org.apache.camel.core.xml
Class AbstractCamelThreadPoolFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.core.xml.AbstractCamelFactoryBean<ExecutorService>
          extended by 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:

Constructor Summary
AbstractCamelThreadPoolFactoryBean()
           
 
Method Summary
protected abstract  org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)
           
 String getKeepAliveTime()
           
 String getMaxPoolSize()
           
 String getMaxQueueSize()
           
 ExecutorService getObject()
           
 Class<ExecutorService> getObjectType()
           
 String getPoolSize()
           
 org.apache.camel.ThreadPoolRejectedPolicy getRejectedPolicy()
           
 String getThreadName()
           
 TimeUnit getTimeUnit()
           
 void setKeepAliveTime(String keepAliveTime)
           
 void setMaxPoolSize(String maxPoolSize)
           
 void setMaxQueueSize(String maxQueueSize)
           
 void setPoolSize(String poolSize)
           
 void setRejectedPolicy(org.apache.camel.ThreadPoolRejectedPolicy rejectedPolicy)
           
 void setThreadName(String threadName)
           
 void setTimeUnit(TimeUnit timeUnit)
           
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean
afterPropertiesSet, destroy, getCamelContext, getCamelContextId, isSingleton, setCamelContext, setCamelContextId
 
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
 

Constructor Detail

AbstractCamelThreadPoolFactoryBean

public AbstractCamelThreadPoolFactoryBean()
Method Detail

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