@CamelConfiguration(value="asyncHelloRouteBean") public class AsyncHelloRoute extends AbstractBasicRoute
Modifier and Type | Field and Description |
---|---|
static String |
ROUTE_BEAN |
static String |
ROUTE_ID_ASYNC_IN |
static String |
ROUTE_ID_ASYNC_OUT |
static String |
URI_ASYNC_HELLO_OUT |
EXTERNAL_ROUTE_SUFFIX, IN_ROUTE_SUFFIX, OUT_ROUTE_SUFFIX, 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
public static final String ROUTE_BEAN
public static final String ROUTE_ID_ASYNC_IN
public static final String ROUTE_ID_ASYNC_OUT
public static final String URI_ASYNC_HELLO_OUT
protected void doConfigure() throws Exception
AbstractBasicRoute
doConfigure
in class AbstractBasicRoute
Exception
- can be thrown during configuration@Handler public void printGreeting(@Body AsyncHelloRequest req)
Copyright © 2016. All rights reserved.