Class CamelRouteContextFactoryBean

java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.spring.xml.CamelRouteContextFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.RouteDefinition>>

@Metadata(label="spring,configuration,routing") public class CamelRouteContextFactoryBean extends org.apache.camel.model.IdentifiedType implements org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.RouteDefinition>>
Configuration of routes using XML
  • Constructor Details

  • Method Details

    • getObject

      public List<org.apache.camel.model.RouteDefinition> getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.RouteDefinition>>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.RouteDefinition>>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.RouteDefinition>>
    • getRoutes

      public List<org.apache.camel.model.RouteDefinition> getRoutes()
    • setRoutes

      public void setRoutes(List<org.apache.camel.model.RouteDefinition> routes)