public abstract class AbstractCamelProducerTemplateFactoryBean extends AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>
ProducerTemplate
instance with a minimum of XML| Constructor and Description |
|---|
AbstractCamelProducerTemplateFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getDefaultEndpoint() |
Integer |
getMaximumCacheSize() |
org.apache.camel.ProducerTemplate |
getObject() |
Class<org.apache.camel.impl.engine.DefaultProducerTemplate> |
getObjectType() |
void |
setDefaultEndpoint(String defaultEndpoint)
Sets the default endpoint URI used by default for sending message exchanges
|
void |
setMaximumCacheSize(Integer maximumCacheSize)
Sets a custom maximum cache size to use in the backing cache pools.
|
afterPropertiesSet, discoverDefaultCamelContext, getCamelContext, getCamelContextId, getCamelContextWithId, getCustomId, isSingleton, setCamelContext, setCamelContextId, setCustomIdpublic AbstractCamelProducerTemplateFactoryBean()
public org.apache.camel.ProducerTemplate getObject()
throws Exception
getObject in class AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>Exceptionpublic Class<org.apache.camel.impl.engine.DefaultProducerTemplate> getObjectType()
getObjectType in class AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>public void destroy()
throws Exception
destroy in class AbstractCamelFactoryBean<org.apache.camel.ProducerTemplate>Exceptionpublic String getDefaultEndpoint()
public void setDefaultEndpoint(String defaultEndpoint)
public Integer getMaximumCacheSize()
public void setMaximumCacheSize(Integer maximumCacheSize)
maximumCacheSize - the custom maximum cache sizeApache Camel