Class CamelEndpointFactoryBean

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<org.apache.camel.Endpoint>, org.springframework.context.ApplicationContextAware

    @Metadata(label="spring,configuration,endpoint")
    public class CamelEndpointFactoryBean
    extends org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
    implements org.springframework.beans.factory.FactoryBean<org.apache.camel.Endpoint>, org.springframework.context.ApplicationContextAware
    Camel endpoint configuration
    • Field Summary

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

        OBJECT_TYPE_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.camel.CamelContext getCamelContextWithId​(String camelContextId)  
      org.apache.camel.Endpoint getObject()  
      String getRef()  
      void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)  
      void setRef​(String ref)  
      • Methods inherited from class org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean

        getObjectType, getProperties, getUri, setProperties, setUri
      • Methods inherited from class org.apache.camel.core.xml.AbstractCamelFactoryBean

        afterPropertiesSet, destroy, discoverDefaultCamelContext, getCamelContext, getCamelContextId, getCustomId, isSingleton, setCamelContext, setCamelContextId, setCustomId
      • Methods inherited from interface org.springframework.beans.factory.FactoryBean

        getObjectType, isSingleton
    • Method Detail

      • getCamelContextWithId

        protected org.apache.camel.CamelContext getCamelContextWithId​(String camelContextId)
        Specified by:
        getCamelContextWithId in class org.apache.camel.core.xml.AbstractCamelFactoryBean<org.apache.camel.Endpoint>
      • 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
      • getObject

        public org.apache.camel.Endpoint getObject()
                                            throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<org.apache.camel.Endpoint>
        Overrides:
        getObject in class org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean
        Throws:
        Exception