@CamelConfiguration(value="asyncHelloRouteBean") @Profile(value="example-module") public class AsyncHelloRoute extends AbstractBasicRoute
EXTERNAL_ROUTE_SUFFIX, IN_ROUTE_SUFFIX, OUT_ROUTE_SUFFIX, ROUTE_ID_DELIMITER, ROUTE_SUFFIX
Constructor and Description |
---|
AsyncHelloRoute() |
Modifier and Type | Method and Description |
---|---|
protected void |
doConfigure()
Defines routes and route specific configuration.
|
void |
printGreeting(AsyncHelloRequest req) |
addEventNotifier, configure, doErrorHandling, exceptionHandling, getBean, getExternalRouteId, getInRouteId, getInWsUri, getInWsUri, getOutRouteId, getOutWsSoap12Uri, getOutWsSoap12Uri, getOutWsUri, getOutWsUri, getRouteId, isAsynch, printMessageHistory, toString
getApplicationContext, lookup, lookup, setApplicationContext, transactionErrorHandler, transactionErrorHandler, transactionErrorHandler, transactionErrorHandler
addRoutes, addRoutesToCamelContext, checkInitialized, configureRest, configureRests, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRestCollection, getRestConfigurations, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, rest, rest, restConfiguration, restConfiguration, setErrorHandlerBuilder, setRestCollection, setRouteCollection
bean, bean, bean, bean, body, body, bodyAs, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, faultBody, faultBodyAs, getErrorHandlerBuilder, header, language, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, method, method, method, method, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpath
protected void doConfigure() throws Exception
AbstractBasicRoute
doConfigure
in class AbstractBasicRoute
Exception
- can be thrown during configuration@Handler public void printGreeting(@Body AsyncHelloRequest req)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.