Class BeanRoutes

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

    @ApplicationScoped
    public class BeanRoutes
    extends org.apache.camel.builder.RouteBuilder
    A RouteBuilder instantiated by Camel (not by Arc).
    • Constructor Summary

      Constructors 
      Constructor Description
      BeanRoutes()  
    • 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, configuration, configureRest, configureRests, configureRoute, configureRouteConfiguration, configureRoutes, configureRouteTemplate, configureTemplatedRoute, errorHandler, errorHandler, from, from, from, fromF, getOrder, getResource, getRestCollection, getRestConfiguration, getRouteCollection, getRouteTemplateCollection, getTemplatedRouteCollection, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, loadRoutesBuilder, loadRoutesBuilder, onCompletion, onException, onException, populateOrUpdateRoutes, populateRests, populateRoutes, populateRouteTemplates, populateTemplatedRoutes, populateTransformers, populateValidators, property, propertyInject, removeLifecycleInterceptor, rest, rest, restConfiguration, routeTemplate, setErrorHandlerFactory, setResource, setRestCollection, setRouteCollection, setRouteTemplateCollection, setTemplatedRouteCollection, templatedRoute, toString, transformer, updateRoutesToCamelContext, validator
      • Methods inherited from class org.apache.camel.builder.BuilderSupport

        body, bodyAs, constant, constant, constant, createErrorHandlerBuilder, csimple, csimple, datasonnet, datasonnet, datasonnet, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, getCamelContext, getContext, getErrorHandlerFactory, header, joor, joor, jsonpath, jsonpath, jtaTransactionErrorHandler, jtaTransactionErrorHandler, jtaTransactionErrorHandler, method, method, method, method, noErrorHandler, regexReplaceAll, regexReplaceAll, setCamelContext, simple, simple, simpleF, simpleF, springTransactionErrorHandler, springTransactionErrorHandler, springTransactionErrorHandler, systemProperty, systemProperty, xpath, xpath, xpath, xpath
    • Constructor Detail

      • BeanRoutes

        public BeanRoutes()
    • 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()