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, org.apache.camel.spi.HasCamelContext

public abstract class AbstractCamelFluentProducerTemplateFactoryBean extends AbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
A factory for creating a new FluentProducerTemplate instance with a minimum of XML
  • Constructor Details

    • AbstractCamelFluentProducerTemplateFactoryBean

      public AbstractCamelFluentProducerTemplateFactoryBean()
  • Method Details

    • getObject

      public org.apache.camel.FluentProducerTemplate getObject() throws Exception
      Specified by:
      getObject in class AbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
      Throws:
      Exception
    • getObjectType

      public Class<org.apache.camel.impl.engine.DefaultFluentProducerTemplate> getObjectType()
      Specified by:
      getObjectType in class AbstractCamelFactoryBean<org.apache.camel.FluentProducerTemplate>
    • destroy

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