@ApplicationScoped
public class EagerAppScopedRouteBuilder
extends org.apache.camel.builder.RouteBuilder
RouteBuilder injected into CamelResource and thus instantiated eagerly.| Modifier and Type | Field and Description |
|---|---|
(package private) static AtomicInteger |
CONFIGURE_COUNTER |
(package private) Counter |
counter |
(package private) static AtomicInteger |
INSTANCE_COUNTER |
(package private) String |
myFooValue |
| Constructor and Description |
|---|
EagerAppScopedRouteBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRoutesToCamelContext(org.apache.camel.CamelContext context) |
void |
configure() |
Counter |
getCounter() |
void |
postConstruct() |
addRoutes, bindToRegistry, bindToRegistry, checkInitialized, configureRest, configureRests, configureRoute, configureRoutes, errorHandler, from, from, from, fromF, getOrder, getRestCollection, getRestConfigurations, getRouteCollection, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, populateTransformers, populateValidators, propertyInject, rest, rest, restConfiguration, 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, xpathstatic final AtomicInteger INSTANCE_COUNTER
static final AtomicInteger CONFIGURE_COUNTER
@Inject Counter counter
String myFooValue
@PostConstruct public void postConstruct()
public void addRoutesToCamelContext(org.apache.camel.CamelContext context)
throws Exception
addRoutesToCamelContext in interface org.apache.camel.RoutesBuilderaddRoutesToCamelContext in class org.apache.camel.builder.RouteBuilderExceptionpublic void configure()
configure in class org.apache.camel.builder.RouteBuilderpublic Counter getCounter()
Copyright © 2019 The Apache Software Foundation. All rights reserved.