org.apache.camel.core.xml
Class AbstractCamelProducerTemplateFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>
org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware
public abstract class AbstractCamelProducerTemplateFactoryBean
- extends AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>
A factory for creating a new ProducerTemplate
instance with a minimum of XML
- 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 |
AbstractCamelProducerTemplateFactoryBean
public AbstractCamelProducerTemplateFactoryBean()
getObject
public org.apache.camel.ProducerTemplate getObject()
throws Exception
- Specified by:
getObject
in class AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>
- Throws:
Exception
getObjectType
public Class<org.apache.camel.impl.DefaultProducerTemplate> getObjectType()
- Specified by:
getObjectType
in class AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>
destroy
public void destroy()
throws Exception
- Overrides:
destroy
in class AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>
- Throws:
Exception
getDefaultEndpoint
public String getDefaultEndpoint()
setDefaultEndpoint
public void setDefaultEndpoint(String defaultEndpoint)
- Sets the default endpoint URI used by default for sending message exchanges
getMaximumCacheSize
public Integer getMaximumCacheSize()
setMaximumCacheSize
public void setMaximumCacheSize(Integer maximumCacheSize)
Apache CAMEL