Class EndpointRouteBuilderLoaderSupport

  • All Implemented Interfaces:
    AutoCloseable, org.apache.camel.CamelContextAware, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.RoutesBuilderLoader, org.apache.camel.StatefulService, org.apache.camel.StaticService, org.apache.camel.SuspendableService

    public abstract class EndpointRouteBuilderLoaderSupport
    extends org.apache.camel.dsl.support.RouteBuilderLoaderSupport
    Base class for RoutesBuilderLoader implementations with Endpoint DSL.
    • Field Summary

      • Fields inherited from class org.apache.camel.support.service.BaseService

        BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING
      • Fields inherited from interface org.apache.camel.spi.RoutesBuilderLoader

        FACTORY_PATH
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void doLoadEndpointRouteBuilder​(Reader reader, org.apache.camel.builder.endpoint.EndpointRouteBuilder builder)  
      org.apache.camel.builder.RouteBuilder doLoadRouteBuilder​(org.apache.camel.spi.Resource resource)  
      • Methods inherited from class org.apache.camel.dsl.support.RouteBuilderLoaderSupport

        addCompilePostProcessor, doBuild, doStart, getCompilePostProcessors, getSupportedExtension, loadRoutesBuilder, resourceInputStream
      • Methods inherited from class org.apache.camel.support.RoutesBuilderLoaderSupport

        getCamelContext, setCamelContext
      • Methods inherited from class org.apache.camel.support.service.BaseService

        build, doFail, doInit, doLifecycleChange, doResume, doShutdown, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
      • Methods inherited from interface org.apache.camel.spi.RoutesBuilderLoader

        preParseRoute
      • Methods inherited from interface org.apache.camel.Service

        build, close, init, start, stop
      • Methods inherited from interface org.apache.camel.ShutdownableService

        shutdown
      • Methods inherited from interface org.apache.camel.StatefulService

        getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
      • Methods inherited from interface org.apache.camel.SuspendableService

        isSuspended, resume, suspend
    • Constructor Detail

      • EndpointRouteBuilderLoaderSupport

        protected EndpointRouteBuilderLoaderSupport​(String extension)
    • Method Detail

      • doLoadRouteBuilder

        public org.apache.camel.builder.RouteBuilder doLoadRouteBuilder​(org.apache.camel.spi.Resource resource)
                                                                 throws Exception
        Specified by:
        doLoadRouteBuilder in class org.apache.camel.dsl.support.RouteBuilderLoaderSupport
        Throws:
        Exception
      • doLoadEndpointRouteBuilder

        protected abstract void doLoadEndpointRouteBuilder​(Reader reader,
                                                           org.apache.camel.builder.endpoint.EndpointRouteBuilder builder)
                                                    throws Exception
        Throws:
        Exception