Class CamelConsumerTemplateFactoryBean

java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>
org.apache.camel.core.xml.AbstractCamelConsumerTemplateFactoryBean
org.apache.camel.spring.xml.CamelConsumerTemplateFactoryBean
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.spi.HasCamelContext, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<org.apache.camel.ConsumerTemplate>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

@Metadata(label="spring,configuration") public class CamelConsumerTemplateFactoryBean extends org.apache.camel.core.xml.AbstractCamelConsumerTemplateFactoryBean implements org.springframework.beans.factory.FactoryBean<org.apache.camel.ConsumerTemplate>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
Configures a ConsumerTemplate
  • Field Summary

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.camel.CamelContext
    getCamelContextWithId(String camelContextId)
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     

    Methods inherited from class org.apache.camel.core.xml.AbstractCamelConsumerTemplateFactoryBean

    destroy, getMaximumCacheSize, getObject, getObjectType, setMaximumCacheSize

    Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean

    afterPropertiesSet, discoverDefaultCamelContext, getCamelContext, getCamelContextId, getCustomId, isSingleton, setCamelContext, setCamelContextId, setCustomId

    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

    Methods inherited from interface org.springframework.beans.factory.DisposableBean

    destroy

    Methods inherited from interface org.springframework.beans.factory.FactoryBean

    getObject, getObjectType, isSingleton

    Methods inherited from interface org.springframework.beans.factory.InitializingBean

    afterPropertiesSet
  • Constructor Details

  • Method Details

    • getCamelContextWithId

      protected org.apache.camel.CamelContext getCamelContextWithId(String camelContextId)
      Specified by:
      getCamelContextWithId in class org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.ConsumerTemplate>
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException