Class CamelRoute

  • All Implemented Interfaces:
    org.apache.camel.Ordered, org.apache.camel.RoutesBuilder

    public class CamelRoute
    extends org.apache.camel.builder.RouteBuilder
    A RouteBuilder instantiated by Camel (not by Arc).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static AtomicInteger CONFIGURE_COUNTER  
      • Fields inherited from class org.apache.camel.builder.RouteBuilder

        log
      • Fields inherited from interface org.apache.camel.Ordered

        HIGHEST, LOWEST
    • Constructor Summary

      Constructors 
      Constructor Description
      CamelRoute()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRoutesToCamelContext​(org.apache.camel.CamelContext context)  
      org.apache.camel.Exchange aggregate​(org.apache.camel.Exchange oldExchange, org.apache.camel.Exchange newExchange)  
      void configure()  
      static WithHandlerBean withHandler()  
      • Methods inherited from class org.apache.camel.builder.RouteBuilder

        addLifecycleInterceptor, addRoutes, bindToRegistry, bindToRegistry, checkInitialized, configureRest, configureRests, configureRoute, configureRoutes, errorHandler, from, from, from, fromF, getOrder, getRestCollection, getRestConfiguration, getRouteCollection, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, populateTransformers, populateValidators, propertyInject, removeLifecycleInterceptor, rest, rest, restConfiguration, setErrorHandlerBuilder, setRestCollection, setRouteCollection, toString, transformer, validator
      • Methods inherited from class org.apache.camel.builder.BuilderSupport

        body, bodyAs, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, getContext, getErrorHandlerBuilder, header, jsonpath, jsonpath, method, method, method, method, noErrorHandler, regexReplaceAll, regexReplaceAll, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpath, xpath, xpath
    • Field Detail

      • CONFIGURE_COUNTER

        static final AtomicInteger CONFIGURE_COUNTER
    • Constructor Detail

      • CamelRoute

        public CamelRoute()
    • Method Detail

      • addRoutesToCamelContext

        public void addRoutesToCamelContext​(org.apache.camel.CamelContext context)
                                     throws Exception
        Specified by:
        addRoutesToCamelContext in interface org.apache.camel.RoutesBuilder
        Overrides:
        addRoutesToCamelContext in class org.apache.camel.builder.RouteBuilder
        Throws:
        Exception
      • configure

        public void configure()
        Specified by:
        configure in class org.apache.camel.builder.RouteBuilder
      • aggregate

        public org.apache.camel.Exchange aggregate​(org.apache.camel.Exchange oldExchange,
                                                   org.apache.camel.Exchange newExchange)
      • withHandler

        @BindToRegistry
        public static WithHandlerBean withHandler()