@ApplicationScoped
public class TimerRoute
extends org.apache.camel.builder.RouteBuilder
RouteBuilder demonstrating the use of CDI (Contexts and Dependency Injection).
Note that for the @Inject and @ConfigProperty annotations to work, this class has to be annotated
with @ApplicationScoped.
| Modifier and Type | Field and Description |
|---|---|
(package private) Counter |
counter
An injected bean
|
(package private) String |
period
timer.period is defined in src/main/resources/application.properties |
| Constructor and Description |
|---|
TimerRoute() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
addLifecycleInterceptor, addRoutes, addRoutesToCamelContext, 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, validatorbody, bodyAs, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, getContext, getErrorHandlerBuilder, header, jsonpath, jsonpath, language, method, method, method, method, noErrorHandler, regexReplaceAll, regexReplaceAll, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpath, xpath, xpathCopyright © 2019–2020 The Apache Software Foundation. All rights reserved.