org.apache.camel.core.xml
Class AbstractCamelProducerTemplateFactoryBean

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.core.xml.AbstractCamelFactoryBean<ProducerTemplate>
          extended by org.apache.camel.core.xml.AbstractCamelProducerTemplateFactoryBean
All Implemented Interfaces:
CamelContextAware
Direct Known Subclasses:
CamelProducerTemplateFactoryBean, CamelProducerTemplateFactoryBean

public abstract class AbstractCamelProducerTemplateFactoryBean
extends AbstractCamelFactoryBean<ProducerTemplate>

A factory for creating a new ProducerTemplate instance with a minimum of XML

Version:

Constructor Summary
AbstractCamelProducerTemplateFactoryBean()
           
 
Method Summary
 void destroy()
           
 String getDefaultEndpoint()
           
 Integer getMaximumCacheSize()
           
 ProducerTemplate getObject()
           
 Class<DefaultProducerTemplate> getObjectType()
           
 void setDefaultEndpoint(String defaultEndpoint)
          Sets the default endpoint URI used by default for sending message exchanges
 void setMaximumCacheSize(Integer maximumCacheSize)
           
 
Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean
afterPropertiesSet, getCamelContext, getCamelContextId, getCamelContextWithId, 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

AbstractCamelProducerTemplateFactoryBean

public AbstractCamelProducerTemplateFactoryBean()
Method Detail

getObject

public ProducerTemplate getObject()
                           throws Exception
Specified by:
getObject in class AbstractCamelFactoryBean<ProducerTemplate>
Throws:
Exception

getObjectType

public Class<DefaultProducerTemplate> getObjectType()
Specified by:
getObjectType in class AbstractCamelFactoryBean<ProducerTemplate>

destroy

public void destroy()
             throws Exception
Overrides:
destroy in class AbstractCamelFactoryBean<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