public class AsyncBatchMessageProcessorRoute
extends org.apache.camel.builder.RouteBuilder
| Constructor and Description |
|---|
AsyncBatchMessageProcessorRoute(String fromUri,
String failureUri,
java.time.Duration processTimeout,
MessageFactory messageFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
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, toStringbean, 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, xpathpublic AsyncBatchMessageProcessorRoute(String fromUri, String failureUri, java.time.Duration processTimeout, MessageFactory messageFactory)
fromUri - Endpoint to consume from, expected to create exchanges with bodies instances
of Collection. The elements of this collection will be provided to
messageFactory to parse them into Messages.failureUri - Endpoint where failures will be sent to as a Collection of
FailedMessages.processTimeout - How to long to wait for a message process before timing out?messageFactory - Accepts each element in the exchange body Collection and
parses them to create message implementations which will be processed.Copyright © 2016. All rights reserved.