Package org.apache.camel.core.xml
Class AbstractCamelFluentProducerTemplateFactoryBean
- java.lang.Object
-
- org.apache.camel.model.IdentifiedType
-
- org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
-
- org.apache.camel.core.xml.AbstractCamelFluentProducerTemplateFactoryBean
-
- All Implemented Interfaces:
org.apache.camel.CamelContextAware
public abstract class AbstractCamelFluentProducerTemplateFactoryBean extends AbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
A factory for creating a newFluentProducerTemplate
instance with a minimum of XML
-
-
Constructor Summary
Constructors Constructor Description AbstractCamelFluentProducerTemplateFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
String
getDefaultEndpoint()
Integer
getMaximumCacheSize()
org.apache.camel.FluentProducerTemplate
getObject()
Class<org.apache.camel.impl.engine.DefaultFluentProducerTemplate>
getObjectType()
void
setDefaultEndpoint(String defaultEndpoint)
Sets the default endpoint URI used by default for sending message exchangesvoid
setMaximumCacheSize(Integer maximumCacheSize)
Sets a custom maximum cache size to use in the backing cache pools.-
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.FluentProducerTemplate getObject() throws Exception
- Specified by:
getObject
in classAbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
- Throws:
Exception
-
getObjectType
public Class<org.apache.camel.impl.engine.DefaultFluentProducerTemplate> getObjectType()
- Specified by:
getObjectType
in classAbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
-
destroy
public void destroy() throws Exception
- Overrides:
destroy
in classAbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
- 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)
Sets a custom maximum cache size to use in the backing cache pools.- Parameters:
maximumCacheSize
- the custom maximum cache size
-
-