@CamelConfiguration(value="syncHelloRouteBean") @Profile(value="example-module") public class SyncHelloRoute extends AbstractBasicRoute
EXTERNAL_ROUTE_SUFFIX, IN_ROUTE_SUFFIX, OUT_ROUTE_SUFFIX, ROUTE_ID_DELIMITER, ROUTE_SUFFIX
Constructor and Description |
---|
SyncHelloRoute() |
Modifier and Type | Method and Description |
---|---|
SyncHelloResponse |
composeGreeting(SyncHelloRequest req) |
protected void |
doConfigure()
Defines routes and route specific configuration.
|
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 SyncHelloResponse composeGreeting(@Body SyncHelloRequest req)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.