Class RouteConfigurationBuilder

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.apache.camel.Ordered, org.apache.camel.RouteConfigurationsBuilder, org.apache.camel.RoutesBuilder, org.apache.camel.spi.ResourceAware

    public abstract class RouteConfigurationBuilder
    extends RouteBuilder
    implements org.apache.camel.RouteConfigurationsBuilder
    A Java DSL which is used for building route configuration(s).
    • Constructor Detail

      • RouteConfigurationBuilder

        public RouteConfigurationBuilder()
    • Method Detail

      • configure

        public void configure()
                       throws Exception
        Description copied from class: RouteBuilder
        Called on initialization to build the routes using the fluent builder syntax.

        This is a central method for RouteBuilder implementations to implement the routes using the Java fluent builder syntax.

        Specified by:
        configure in class RouteBuilder
        Throws:
        Exception - can be thrown during configuration
      • configuration

        public abstract void configuration()
                                    throws Exception
        Description copied from class: RouteBuilder
        Called on initialization to build routes configuration (global routes configurations) using the fluent builder syntax.
        Overrides:
        configuration in class RouteBuilder
        Throws:
        Exception - can be thrown during configuration
      • addRouteConfigurationsToCamelContext

        public void addRouteConfigurationsToCamelContext​(org.apache.camel.CamelContext context)
                                                  throws Exception
        Specified by:
        addRouteConfigurationsToCamelContext in interface org.apache.camel.RouteConfigurationsBuilder
        Throws:
        Exception
      • updateRouteConfigurationsToCamelContext

        public void updateRouteConfigurationsToCamelContext​(org.apache.camel.CamelContext context)
                                                     throws Exception
        Specified by:
        updateRouteConfigurationsToCamelContext in interface org.apache.camel.RouteConfigurationsBuilder
        Throws:
        Exception
      • populateRoutesConfiguration

        protected void populateRoutesConfiguration()
                                            throws Exception
        Throws:
        Exception