Package org.apache.camel.core.xml
Class AbstractCamelConsumerTemplateFactoryBean
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>
-
- org.apache.camel.core.xml.AbstractCamelConsumerTemplateFactoryBean
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
public abstract class AbstractCamelConsumerTemplateFactoryBean extends AbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>
A factory for creating a newConsumerTemplateinstance with a minimum of XML
-
-
Constructor Summary
Constructors Constructor Description AbstractCamelConsumerTemplateFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()IntegergetMaximumCacheSize()org.apache.camel.ConsumerTemplategetObject()Class<org.apache.camel.ConsumerTemplate>getObjectType()voidsetMaximumCacheSize(Integer maximumCacheSize)-
Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean
afterPropertiesSet, discoverDefaultCamelContext, getCamelContext, getCamelContextId, getCamelContextWithId, getCustomId, isSingleton, setCamelContext, setCamelContextId, setCustomId
-
-
-
-
Method Detail
-
getObject
public org.apache.camel.ConsumerTemplate getObject() throws Exception- Specified by:
getObjectin classAbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>- Throws:
Exception
-
getObjectType
public Class<org.apache.camel.ConsumerTemplate> getObjectType()
- Specified by:
getObjectTypein classAbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>
-
destroy
public void destroy() throws Exception- Overrides:
destroyin classAbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>- Throws:
Exception
-
getMaximumCacheSize
public Integer getMaximumCacheSize()
-
setMaximumCacheSize
public void setMaximumCacheSize(Integer maximumCacheSize)
-
-