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<org.apache.camel.ProducerTemplate>
          extended by 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:

Constructor Summary
AbstractCamelProducerTemplateFactoryBean()
           
 
Method Summary
 void destroy()
           
 String getDefaultEndpoint()
           
 Integer getMaximumCacheSize()
           
 org.apache.camel.ProducerTemplate getObject()
           
 Class<org.apache.camel.impl.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 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