Class CdiRouteBuilder

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

    public abstract class CdiRouteBuilder
    extends org.apache.camel.builder.RouteBuilder
    An extension of the RouteBuilder to provide some additional helper methods.
    • Field Summary

      • 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
      CdiRouteBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.camel.jta.JtaTransactionErrorHandlerBuilder transactionErrorHandler()
      Creates a transaction error handler that will lookup in application context for an exiting transaction manager.
      • Methods inherited from class org.apache.camel.builder.RouteBuilder

        addLifecycleInterceptor, addRoutes, addRoutesToCamelContext, bindToRegistry, bindToRegistry, checkInitialized, configuration, configure, configureRest, configureRests, configureRoute, configureRouteConfiguration, configureRoutes, configureRouteTemplate, errorHandler, errorHandler, from, from, from, fromF, getOrder, getResource, getRestCollection, getRestConfiguration, getRouteCollection, getRouteTemplateCollection, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, loadRoutesBuilder, loadRoutesBuilder, onCompletion, onException, onException, populateOrUpdateRoutes, populateRests, populateRoutes, populateRouteTemplates, populateTransformers, populateValidators, propertyInject, removeLifecycleInterceptor, rest, rest, restConfiguration, routeTemplate, setErrorHandlerBuilder, setResource, setRestCollection, setRouteCollection, setRouteTemplateCollection, 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, getErrorHandlerBuilder, hasErrorHandlerBuilder, header, joor, joor, jsonpath, jsonpath, method, method, method, method, noErrorHandler, regexReplaceAll, regexReplaceAll, setCamelContext, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpath, xpath, xpath
    • Constructor Detail

      • CdiRouteBuilder

        public CdiRouteBuilder()
    • Method Detail

      • transactionErrorHandler

        public org.apache.camel.jta.JtaTransactionErrorHandlerBuilder transactionErrorHandler()
        Creates a transaction error handler that will lookup in application context for an exiting transaction manager.
        Returns:
        the created error handler