Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.builder | |
org.apache.camel.builder.xml | |
org.apache.camel.component.bean |
The Bean Component which will look up the
bean name in the Spring ApplicationContext and use that to dispatch messages to a POJO
|
org.apache.camel.component.binding |
The Binding Component which is
a way of wrapping an Endpoint in a contract; such as a Data Format, a Content Enricher or validation step.
|
org.apache.camel.component.browse |
The Browse Component which is a simple in memory
component which maintains a list of all message exchanges which can be useful for debugging, tooling or visualistion.
|
org.apache.camel.component.controlbus |
The Control Bus Component which
allows to manage Camel at runtime.
|
org.apache.camel.component.dataformat |
The DataFormat Component
allows to use Data Format as a Camel Component.
|
org.apache.camel.component.dataset |
A DataSet Endpoint for testing of endpoints using defined DataSets
|
org.apache.camel.component.direct |
The Direct Component which synchronously invokes
all the consumers when a producer sends an exchange to the endpoint.
|
org.apache.camel.component.directvm |
The Direct VM Component which synchronously invokes
the consumer when a producer sends an exchange to the endpoint.
|
org.apache.camel.component.file |
The File Component for working with file systems.
|
org.apache.camel.component.language |
The Language Component to send messages to language endpoints executing
the script.
|
org.apache.camel.component.log |
The Log Component uses Jakarta Commons Logging to log message exchanges.
|
org.apache.camel.component.mock |
The Mock Component which is used for testing of routing and mediation rules.
|
org.apache.camel.component.properties |
The Properties Component for lookup of property
placeholders for endpoint URI.
|
org.apache.camel.component.ref |
The Ref Component for lookup of existing
endpoints bound in the
Registry . |
org.apache.camel.component.rest |
The REST Component for defining REST services, supporting
the Camel Rest DSL.
|
org.apache.camel.component.saga | |
org.apache.camel.component.scheduler |
The Scheduler Component to schedule routes
|
org.apache.camel.component.seda | |
org.apache.camel.component.stub |
The Stub Component which is used for stubbing endpoints.
|
org.apache.camel.component.timer |
The Timer Component provides a
simple timer
|
org.apache.camel.component.validator |
The Validator Component for validating XML against some schema
|
org.apache.camel.component.vm |
The VM Component for asynchronous
SEDA exchanges on a
BlockingQueue
within the current JVM; so across CamelContext instances.
|
org.apache.camel.converter |
A set of helper classes for converting from different types of Java object to be used by the
Type Conversion Support
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.impl.cloud | |
org.apache.camel.impl.converter |
Default implementation classes the Type Conversion Strategies
|
org.apache.camel.impl.transformer | |
org.apache.camel.impl.validator | |
org.apache.camel.management |
Camel management
|
org.apache.camel.management.event |
Camel management events
|
org.apache.camel.management.mbean |
Camel management JMX MBeans
|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
org.apache.camel.model.cloud |
The JAXB POJOs for the remote service call DSL
|
org.apache.camel.processor |
A collection of Processor
implementations which are used to implement the
Enterprise Integration Patterns
|
org.apache.camel.processor.aggregate |
Helper classes for the Aggregator pattern.
|
org.apache.camel.processor.binding |
Helper classes for the Binding concept on Endpoints.
|
org.apache.camel.processor.idempotent |
An implementation of the Idempotent Consumer
pattern.
|
org.apache.camel.processor.interceptor |
Helper classes for interceptors.
|
org.apache.camel.processor.loadbalancer |
Various load balancer processors
|
org.apache.camel.processor.saga | |
org.apache.camel.processor.validation |
Performs XML validation using JAXP for validating against XSD or
RelaxNG
|
org.apache.camel.spi |
Service Provider Interfaces used internally by the Camel runtime which are plugin strategies.
|
org.apache.camel.support |
Base classes that help to implement the camel API and are expected to be extended by the user
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
org.apache.camel.util.component |
Base classes and utilities for API based components
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncProcessor
An asynchronous processor which can process an
Exchange in an asynchronous fashion
and signal completion by invoking the AsyncCallback . |
interface |
Channel
Channel acts as a channel between
Processor s in the route graph. |
interface |
DelegateProcessor
Interface to be used for processors that delegate to the real processor
|
interface |
Producer
Provides a channel on which clients can create and invoke message exchanges
on an
Endpoint |
Modifier and Type | Method and Description |
---|---|
<T extends Processor> |
CamelContext.getProcessor(String id,
Class<T> type)
Gets the processor from any of the routes which with the given id
|
Modifier and Type | Method and Description |
---|---|
Processor |
ErrorHandlerFactory.createErrorHandler(RouteContext routeContext,
Processor processor)
Creates the error handler
|
Processor |
Channel.getErrorHandler()
Gets the
ErrorHandler this Channel uses. |
Processor |
Channel.getNextProcessor()
Gets the next
Processor to route to (not wrapped) |
Processor |
Channel.getOutput()
Gets the wrapped output that at runtime should be delegated to.
|
Processor |
RouteNode.getProcessor()
Gets the actual processor this node represents.
|
Processor |
DelegateProcessor.getProcessor()
Gets the delegated
Processor . |
Processor |
CamelContext.getProcessor(String id)
Gets the processor from any of the routes which with the given id
|
Modifier and Type | Method and Description |
---|---|
List<Processor> |
Route.filter(String pattern)
Returns a list of all the
Processor s from this route that has id's matching the pattern |
Navigate<Processor> |
Route.navigate()
Returns a navigator to navigate this route by navigating all the
Processor s. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Exchange> |
ProducerTemplate.asyncCallback(Endpoint endpoint,
Processor processor,
Synchronization onCompletion)
Sends an asynchronous exchange to the given endpoint using a supplied processor.
|
CompletableFuture<Exchange> |
ProducerTemplate.asyncCallback(String endpointUri,
Processor processor,
Synchronization onCompletion)
Sends an asynchronous exchange to the given endpoint using a supplied processor.
|
CompletableFuture<Exchange> |
ProducerTemplate.asyncSend(Endpoint endpoint,
Processor processor)
Sends an asynchronous exchange to the given endpoint.
|
CompletableFuture<Exchange> |
ProducerTemplate.asyncSend(String endpointUri,
Processor processor)
Sends an asynchronous exchange to the given endpoint.
|
Consumer |
Endpoint.createConsumer(Processor processor)
Creates a new Event
Driven Consumer which consumes messages from the endpoint using the
given processor
|
Processor |
ErrorHandlerFactory.createErrorHandler(RouteContext routeContext,
Processor processor)
Creates the error handler
|
Exchange |
ProducerTemplate.request(Endpoint endpoint,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Uses an
ExchangePattern.InOut message exchange pattern. |
Exchange |
ProducerTemplate.request(String endpointUri,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Uses an
ExchangePattern.InOut message exchange pattern. |
Exchange |
ProducerTemplate.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Exchange |
ProducerTemplate.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Exchange |
ProducerTemplate.send(Endpoint endpoint,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Exchange |
ProducerTemplate.send(Processor processor)
Sends an exchange to the default endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Exchange |
ProducerTemplate.send(String endpointUri,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Exchange |
ProducerTemplate.send(String endpointUri,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
void |
Channel.setErrorHandler(Processor errorHandler)
Sets the
ErrorHandler this Channel uses. |
void |
Channel.setNextProcessor(Processor next)
Sets the processor that the channel should route the
Exchange to. |
void |
Channel.setOutput(Processor output)
Sets the wrapped output that at runtime should be delegated to.
|
FluentProducerTemplate |
FluentProducerTemplate.withProcessor(Processor processor)
Set the processor to use for send/request.
|
Modifier and Type | Method and Description |
---|---|
FluentProducerTemplate |
FluentProducerTemplate.withProcessor(Supplier<Processor> processorSupplier)
Set the processorSupplier which will be invoke to get the processor to be
used for send/request.
|
Modifier and Type | Class and Description |
---|---|
class |
ProcessClause<T> |
Modifier and Type | Field and Description |
---|---|
protected Processor |
DefaultErrorHandlerBuilder.failureProcessor |
protected Processor |
DefaultErrorHandlerBuilder.onExceptionOccurred |
protected Processor |
DefaultErrorHandlerBuilder.onPrepareFailure |
protected Processor |
DefaultErrorHandlerBuilder.onRedelivery |
Modifier and Type | Method and Description |
---|---|
Processor |
LoggingErrorHandlerBuilder.createErrorHandler(RouteContext routeContext,
Processor processor)
Deprecated.
|
Processor |
NoErrorHandlerBuilder.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
DefaultErrorHandlerBuilder.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
DeadLetterChannelBuilder.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
ErrorHandlerBuilderRef.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
DefaultErrorHandlerBuilder.getFailureProcessor() |
Processor |
DeadLetterChannelBuilder.getFailureProcessor() |
Processor |
DefaultErrorHandlerBuilder.getOnExceptionOccurred() |
Processor |
DefaultErrorHandlerBuilder.getOnPrepareFailure() |
Processor |
DefaultErrorHandlerBuilder.getOnRedelivery() |
static Processor |
ProcessorBuilder.removeFaultHeader(String name)
Deprecated.
will be removed in the near future. Instead use
ProcessorBuilder.removeHeader(String) |
static Processor |
ProcessorBuilder.removeHeader(String name)
Removes the header on the message.
|
static Processor |
ProcessorBuilder.removeHeaders(String pattern)
Removes the headers on the message
|
static Processor |
ProcessorBuilder.removeHeaders(String pattern,
String... exceptionPatterns)
Removes all headers on the message, except for the ones provided in the names parameter
|
static Processor |
ProcessorBuilder.removeProperties(String pattern)
Removes the properties on the exchange
|
static Processor |
ProcessorBuilder.removeProperties(String pattern,
String... exceptionPatterns)
Removes all properties on the exchange, except for the ones provided in the names parameter
|
static Processor |
ProcessorBuilder.removeProperty(String name)
Removes the property on the exchange
|
static Processor |
ProcessorBuilder.setBody(Expression expression)
Creates a processor which sets the body of the message to the value of the expression
|
static Processor |
ProcessorBuilder.setFaultBody(Expression expression)
Creates a processor which sets the body of the FAULT message to the value of the expression
|
static Processor |
ProcessorBuilder.setFaultHeader(String name,
Expression expression)
Sets the header on the FAULT message
|
static Processor |
ProcessorBuilder.setHeader(String name,
Expression expression)
Sets the header on the message.
|
static Processor |
ProcessorBuilder.setOutBody(Expression expression)
Deprecated.
|
static Processor |
ProcessorBuilder.setOutHeader(String name,
Expression expression)
Deprecated.
|
static Processor |
ProcessorBuilder.setProperty(String name,
Expression expression)
Sets the property on the exchange
|
static Processor |
ProcessorBuilder.throwException(Exception ex)
Throws an exception
|
Modifier and Type | Method and Description |
---|---|
Processor |
LoggingErrorHandlerBuilder.createErrorHandler(RouteContext routeContext,
Processor processor)
Deprecated.
|
Processor |
NoErrorHandlerBuilder.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
DefaultErrorHandlerBuilder.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
DeadLetterChannelBuilder.createErrorHandler(RouteContext routeContext,
Processor processor) |
Processor |
ErrorHandlerBuilderRef.createErrorHandler(RouteContext routeContext,
Processor processor) |
DefaultErrorHandlerBuilder |
DefaultErrorHandlerBuilder.onExceptionOccurred(Processor processor)
|
DefaultErrorHandlerBuilder |
DefaultErrorHandlerBuilder.onPrepareFailure(Processor processor)
|
DefaultErrorHandlerBuilder |
DefaultErrorHandlerBuilder.onRedelivery(Processor processor)
Sets a processor that should be processed before a redelivery attempt.
|
void |
DefaultErrorHandlerBuilder.setFailureProcessor(Processor failureProcessor) |
void |
DefaultErrorHandlerBuilder.setOnExceptionOccurred(Processor onExceptionOccurred) |
void |
DefaultErrorHandlerBuilder.setOnPrepareFailure(Processor onPrepareFailure) |
void |
DefaultErrorHandlerBuilder.setOnRedelivery(Processor onRedelivery) |
FluentProducerTemplate |
DefaultFluentProducerTemplate.withProcessor(Processor processor) |
Modifier and Type | Method and Description |
---|---|
FluentProducerTemplate |
DefaultFluentProducerTemplate.withProcessor(Supplier<Processor> processorSupplier) |
Modifier and Type | Class and Description |
---|---|
class |
XsltBuilder
Creates a Processor
which performs an XSLT transformation of the IN message body.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBeanProcessor
A
Processor which converts the inbound exchange to a method
invocation on a POJO |
class |
BeanExpressionProcessor
A bean processor that is optimised for being invoked one time from an
BeanExpression . |
class |
BeanProcessor |
class |
BeanProducer
Bean
Producer |
Modifier and Type | Method and Description |
---|---|
Processor |
ConstantTypeBeanHolder.getProcessor() |
Processor |
BeanProcessor.getProcessor() |
Processor |
ConstantBeanHolder.getProcessor() |
Processor |
BeanHolder.getProcessor()
Gets a
Processor for this bean, if supported. |
Processor |
RegistryBean.getProcessor() |
protected Processor |
AbstractBeanProcessor.getProcessor() |
Modifier and Type | Method and Description |
---|---|
Consumer |
BeanEndpoint.createConsumer(Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
BindingConsumerProcessor
Applies a
Binding to a consumer |
class |
BindingProducer
|
Modifier and Type | Method and Description |
---|---|
Consumer |
BindingEndpoint.createConsumer(Processor processor)
Deprecated.
|
void |
BindingEndpoint.pipelineBindingProcessor(Processor bindingProcessor,
Exchange exchange,
Processor delegateProcessor)
Deprecated.
Applies the
Binding processor to the given exchange before passing it on to the delegateProcessor (either a producer or consumer) |
Constructor and Description |
---|
BindingConsumerProcessor(BindingEndpoint endpoint,
Processor delegateProcessor) |
Modifier and Type | Method and Description |
---|---|
Consumer |
BrowseEndpoint.createConsumer(Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
ControlBusProducer
The control bus producer.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
ControlBusEndpoint.createConsumer(Processor processor) |
Modifier and Type | Method and Description |
---|---|
Consumer |
DataFormatEndpoint.createConsumer(Processor processor) |
Modifier and Type | Method and Description |
---|---|
Processor |
DataSetSupport.getOutputTransformer() |
Modifier and Type | Method and Description |
---|---|
Consumer |
DataSetEndpoint.createConsumer(Processor processor) |
void |
DataSetSupport.setOutputTransformer(Processor outputTransformer) |
Constructor and Description |
---|
DataSetConsumer(DataSetEndpoint endpoint,
Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
DirectBlockingProducer
The direct producer.
|
class |
DirectProducer
The direct producer.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
DirectEndpoint.createConsumer(Processor processor) |
Constructor and Description |
---|
DirectConsumer(Endpoint endpoint,
Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
DirectVmBlockingProducer
The direct producer.
|
class |
DirectVmProcessor |
class |
DirectVmProducer
The Direct-VM producer.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
DirectVmEndpoint.createConsumer(Processor processor) |
Constructor and Description |
---|
DirectVmConsumer(DirectVmEndpoint endpoint,
Processor processor) |
DirectVmProcessor(Processor processor,
DirectVmEndpoint endpoint) |
Modifier and Type | Class and Description |
---|---|
class |
GenericFilePollingConsumer |
class |
GenericFileProducer<T>
Generic file producer
|
Modifier and Type | Field and Description |
---|---|
protected Processor |
GenericFileConsumer.customProcessor |
Modifier and Type | Method and Description |
---|---|
Processor |
GenericFileConsumer.getCustomProcessor() |
Modifier and Type | Method and Description |
---|---|
FileConsumer |
FileEndpoint.createConsumer(Processor processor) |
abstract GenericFileConsumer<T> |
GenericFileEndpoint.createConsumer(Processor processor) |
protected boolean |
GenericFileConsumer.customProcessExchange(Exchange exchange,
Processor processor)
Processes the exchange using a custom processor.
|
protected FileConsumer |
FileEndpoint.newFileConsumer(Processor processor,
GenericFileOperations<File> operations)
Strategy to create a new
FileConsumer |
void |
GenericFileConsumer.setCustomProcessor(Processor processor)
Use a custom processor to process the exchange.
|
Constructor and Description |
---|
FileConsumer(FileEndpoint endpoint,
Processor processor,
GenericFileOperations<File> operations) |
GenericFileConsumer(GenericFileEndpoint<T> endpoint,
Processor processor,
GenericFileOperations<T> operations) |
Modifier and Type | Class and Description |
---|---|
class |
LanguageProducer
Language producer.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
LanguageEndpoint.createConsumer(Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
LogProducer
Log producer.
|
Modifier and Type | Method and Description |
---|---|
protected Processor |
LogEndpoint.createLogger()
Creates the logger
Processor to be used. |
Processor |
LogProducer.getLogger() |
Processor |
LogEndpoint.getLogger() |
Modifier and Type | Method and Description |
---|---|
void |
LogEndpoint.setLogger(Processor logger) |
Constructor and Description |
---|
LogEndpoint(String endpointUri,
Component component,
Processor logger) |
LogProducer(Endpoint endpoint,
Processor logger) |
Modifier and Type | Field and Description |
---|---|
protected Processor |
MockEndpoint.reporter |
Modifier and Type | Method and Description |
---|---|
Processor |
MockEndpoint.getReporter() |
Modifier and Type | Method and Description |
---|---|
Consumer |
MockEndpoint.createConsumer(Processor processor) |
void |
MockEndpoint.setReporter(Processor reporter)
Allows a processor to added to the endpoint to report on progress of the test
|
void |
MockEndpoint.whenAnyExchangeReceived(Processor processor)
Set the processor that will be invoked when the some message
is received.
|
void |
MockEndpoint.whenExchangeReceived(int index,
Processor processor)
Set the processor that will be invoked when the index
message is received.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
PropertiesEndpoint.createConsumer(Processor processor) |
Modifier and Type | Method and Description |
---|---|
Consumer |
RefEndpoint.createConsumer(Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
RestApiProducer |
class |
RestProducer
Rest producer for calling remote REST services.
|
class |
RestProducerBindingProcessor
A
Processor that binds the REST producer request and reply messages
from sources of json or xml to Java Objects. |
Modifier and Type | Method and Description |
---|---|
Consumer |
RestEndpoint.createConsumer(Processor processor) |
Consumer |
RestApiEndpoint.createConsumer(Processor processor) |
Constructor and Description |
---|
RestApiProducer(Endpoint endpoint,
Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
SagaProducer
A producer that finalizes the current saga.
|
Modifier and Type | Method and Description |
---|---|
Consumer |
SagaEndpoint.createConsumer(Processor processor) |
Modifier and Type | Method and Description |
---|---|
Consumer |
SchedulerEndpoint.createConsumer(Processor processor) |
Constructor and Description |
---|
SchedulerConsumer(SchedulerEndpoint endpoint,
Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
CollectionProducer
Deprecated.
will be removed in a future Camel release
|
class |
SedaProducer |
Modifier and Type | Method and Description |
---|---|
Processor |
SedaConsumer.getProcessor() |
Modifier and Type | Method and Description |
---|---|
Consumer |
SedaEndpoint.createConsumer(Processor processor) |
protected SedaConsumer |
SedaEndpoint.createNewConsumer(Processor processor) |
Constructor and Description |
---|
SedaConsumer(SedaEndpoint endpoint,
Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected StubConsumer |
StubEndpoint.createNewConsumer(Processor processor) |
Constructor and Description |
---|
StubConsumer(VmEndpoint endpoint,
Processor processor) |
Modifier and Type | Method and Description |
---|---|
Consumer |
TimerEndpoint.createConsumer(Processor processor) |
Constructor and Description |
---|
TimerConsumer(TimerEndpoint endpoint,
Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
ValidatorProducer |
Modifier and Type | Method and Description |
---|---|
Consumer |
ValidatorEndpoint.createConsumer(Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected VmConsumer |
VmEndpoint.createNewConsumer(Processor processor) |
Constructor and Description |
---|
VmConsumer(VmEndpoint endpoint,
Processor processor) |
Modifier and Type | Method and Description |
---|---|
static Processor |
CamelConverter.toProcessor(Expression expression) |
static Processor |
CamelConverter.toProcessor(Predicate predicate) |
Modifier and Type | Class and Description |
---|---|
class |
BaseSelectorProducer
A base class for selector-based producers.
|
class |
DefaultAsyncProducer
|
class |
DefaultProducer
A default implementation of
Producer for implementation inheritance. |
class |
DeferProducer
A
Producer that defers being started, until CamelContext has been started, this
ensures that the producer is able to adapt to changes that may otherwise occur during starting
CamelContext. |
class |
EventDrivenPollingConsumer
A default implementation of the
PollingConsumer which uses the normal
asynchronous consumer mechanism along with a BlockingQueue to allow
the caller to pull messages on demand. |
class |
HeaderSelectorProducer
A selector-based produced which uses an header value to determine which processor
should be invoked.
|
class |
InterceptSendToEndpointProcessor
Processor used to interceptor and detour the routing
when using the InterceptSendToEndpoint functionality. |
class |
InterceptSendToEndpointServicePoolProcessor
InterceptSendToEndpointProcessor used for producers that are ServicePoolAware . |
class |
SubscribeMethodProcessor
A
Processor which is used for POJO @Consume where you can have multiple @Consume on the same endpoint/consumer
and via predicate's can filter and call different methods. |
class |
SynchronousDelegateProducer
To process the delegated producer in synchronous mode.
|
Modifier and Type | Method and Description |
---|---|
<T extends Processor> |
DefaultCamelContext.getProcessor(String id,
Class<T> type) |
Modifier and Type | Method and Description |
---|---|
protected Processor |
DefaultProducerTemplate.createBodyAndHeaderProcessor(Object body,
String header,
Object headerValue) |
protected Processor |
DefaultProducerTemplate.createBodyAndHeaders(Object body,
Map<String,Object> headers) |
protected Processor |
DefaultProducerTemplate.createBodyAndPropertyProcessor(Object body,
String property,
Object propertyValue) |
Processor |
TypedProcessorFactory.createChildProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition,
boolean mandatory) |
Processor |
DefaultProcessorFactory.createChildProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition,
boolean mandatory) |
protected Processor |
DefaultProducerTemplate.createConvertBodyProcessor(Class<?> type) |
protected Processor |
ProcessorEndpoint.createProcessor() |
Processor |
TypedProcessorFactory.createProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition) |
Processor |
DefaultProcessorFactory.createProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition) |
protected Processor |
DefaultProducerTemplate.createSetBodyProcessor(Object body) |
protected Processor |
TypedProcessorFactory.doCreateChildProcessor(RouteContext routeContext,
T definition,
boolean mandatory) |
Processor |
TypedProcessorFactory.doCreateProcessor(RouteContext routeContext,
T definition) |
Processor |
InterceptSendToEndpoint.getDetour() |
Processor |
DoCatchRouteNode.getProcessor() |
Processor |
EventDrivenConsumerRoute.getProcessor() |
Processor |
DoFinallyRouteNode.getProcessor() |
Processor |
OnCompletionRouteNode.getProcessor() |
Processor |
AggregateRouteNode.getProcessor() |
Processor |
OnExceptionRouteNode.getProcessor() |
Processor |
DefaultConsumer.getProcessor() |
Processor |
DefaultRouteNode.getProcessor() |
Processor |
ProcessorEndpoint.getProcessor() |
protected Processor |
HeaderSelectorProducer.getProcessor(Exchange exchange) |
protected abstract Processor |
BaseSelectorProducer.getProcessor(Exchange exchange)
Determine the processor to use to handle the exchange.
|
Processor |
DefaultCamelContext.getProcessor(String id) |
Modifier and Type | Method and Description |
---|---|
List<Processor> |
EventDrivenConsumerRoute.filter(String pattern) |
Navigate<Processor> |
EventDrivenConsumerRoute.navigate() |
List<Processor> |
SubscribeMethodProcessor.next() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultRouteContext.addEventDrivenProcessor(Processor processor) |
void |
BreakpointSupport.afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
long timeTaken) |
boolean |
DefaultDebugger.afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
long timeTaken) |
void |
MDCUnitOfWork.afterProcess(Processor processor,
Exchange exchange,
AsyncCallback callback,
boolean doneSync) |
void |
DefaultUnitOfWork.afterProcess(Processor processor,
Exchange exchange,
AsyncCallback callback,
boolean doneSync) |
CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncCallback(Endpoint endpoint,
Processor processor,
Synchronization onCompletion) |
CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncCallback(String uri,
Processor processor,
Synchronization onCompletion) |
protected boolean |
ProducerCache.asyncDispatchExchange(Endpoint endpoint,
Producer producer,
Processor resultProcessor,
Exchange exchange,
AsyncCallback callback) |
protected CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncRequest(Endpoint endpoint,
Processor processor,
Processor resultProcessor) |
protected CompletableFuture<Object> |
DefaultProducerTemplate.asyncRequestBody(Endpoint endpoint,
Processor processor) |
protected <T> CompletableFuture<T> |
DefaultProducerTemplate.asyncRequestBody(Endpoint endpoint,
Processor processor,
Class<T> type) |
protected CompletableFuture<Object> |
DefaultProducerTemplate.asyncRequestBody(Endpoint endpoint,
Processor processor,
Processor resultProcessor) |
protected CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncSend(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor) |
CompletableFuture<Exchange> |
ProducerCache.asyncSend(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor,
CompletableFuture<Exchange> future)
Asynchronously sends an exchange to an endpoint using a supplied
Processor to populate the exchange |
CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncSend(Endpoint endpoint,
Processor processor) |
CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncSend(String uri,
Processor processor) |
protected CompletableFuture<Exchange> |
DefaultProducerTemplate.asyncSendExchange(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor,
Exchange inExchange) |
CompletableFuture<Exchange> |
ProducerCache.asyncSendExchange(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor,
Exchange exchange,
CompletableFuture<Exchange> future)
Asynchronously sends an exchange to an endpoint using a supplied
Processor to populate the exchange |
void |
BreakpointSupport.beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition) |
boolean |
DefaultDebugger.beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition) |
AsyncCallback |
MDCUnitOfWork.beforeProcess(Processor processor,
Exchange exchange,
AsyncCallback callback) |
AsyncCallback |
DefaultUnitOfWork.beforeProcess(Processor processor,
Exchange exchange,
AsyncCallback callback) |
protected void |
HeaderSelectorProducer.bind(String key,
Processor processor) |
Consumer |
DefaultPollingEndpoint.createConsumer(Processor processor) |
Consumer |
InterceptSendToEndpoint.createConsumer(Processor processor) |
boolean |
ConditionSupport.matchProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition) |
protected void |
DefaultDebugger.onAfterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
long timeTaken,
Breakpoint breakpoint) |
protected void |
DefaultDebugger.onBeforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
Breakpoint breakpoint) |
Exchange |
DefaultProducerTemplate.request(Endpoint endpoint,
Processor processor) |
Exchange |
DefaultProducerTemplate.request(String endpoint,
Processor processor) |
Exchange |
DefaultProducerTemplate.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor) |
Exchange |
ProducerCache.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied
Processor to populate the exchange |
Exchange |
DefaultProducerTemplate.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor) |
Exchange |
ProducerCache.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor)
Sends an exchange to an endpoint using a supplied
Processor to populate the exchange |
Exchange |
DefaultProducerTemplate.send(Endpoint endpoint,
Processor processor) |
Exchange |
ProducerCache.send(Endpoint endpoint,
Processor processor)
Sends an exchange to an endpoint using a supplied
Processor to populate the exchange |
Exchange |
DefaultProducerTemplate.send(Processor processor) |
Exchange |
DefaultProducerTemplate.send(String endpointUri,
ExchangePattern pattern,
Processor processor) |
Exchange |
DefaultProducerTemplate.send(String endpointUri,
Processor processor) |
protected Exchange |
ProducerCache.sendExchange(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Processor resultProcessor,
Exchange exchange) |
void |
InterceptSendToEndpoint.setDetour(Processor detour) |
void |
ProcessorEndpoint.setProcessor(Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultServiceCallProcessor |
Modifier and Type | Method and Description |
---|---|
static AsyncProcessor |
AsyncProcessorTypeConverter.convert(Processor value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ProcessorTransformer |
ProcessorTransformer.setProcessor(Processor processor)
Set processor to use
|
Modifier and Type | Method and Description |
---|---|
ProcessorValidator |
ProcessorValidator.setProcessor(Processor processor)
Set processor to use
|
Modifier and Type | Class and Description |
---|---|
class |
InstrumentationProcessor
JMX enabled processor or advice that uses the
ManagedCounter for instrumenting
processing of exchanges. |
Modifier and Type | Method and Description |
---|---|
Processor |
InstrumentationInterceptStrategy.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget) |
Modifier and Type | Method and Description |
---|---|
Object |
DefaultManagementObjectStrategy.getManagedObjectForErrorHandler(CamelContext context,
RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
Object |
DefaultManagementObjectStrategy.getManagedObjectForProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition,
Route route) |
ObjectName |
DefaultManagementNamingStrategy.getObjectNameForErrorHandler(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory builder) |
ObjectName |
DefaultManagementNamingStrategy.getObjectNameForProcessor(CamelContext context,
Processor processor,
NamedNode definition) |
void |
DefaultManagementLifecycleStrategy.onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
void |
DefaultManagementLifecycleStrategy.onErrorHandlerRemove(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
PerformanceCounter |
InstrumentationInterceptStrategy.prepareProcessor(ProcessorDefinition<?> definition,
Processor target,
InstrumentationProcessor advice) |
Processor |
InstrumentationInterceptStrategy.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget) |
Constructor and Description |
---|
InstrumentationProcessor(String type,
Processor processor) |
Constructor and Description |
---|
InstrumentationInterceptStrategy(Map<ProcessorDefinition<?>,PerformanceCounter> registeredCounters,
Map<Processor,KeyValueHolder<ProcessorDefinition<?>,InstrumentationProcessor>> wrappedProcessors) |
Modifier and Type | Method and Description |
---|---|
Processor |
ExchangeFailureHandlingEvent.getFailureHandler() |
Processor |
ExchangeFailureHandledEvent.getFailureHandler() |
Modifier and Type | Method and Description |
---|---|
EventObject |
DefaultEventFactory.createExchangeFailureHandledEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri) |
EventObject |
DefaultEventFactory.createExchangeFailureHandlingEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri) |
Constructor and Description |
---|
ExchangeFailureHandledEvent(Exchange source,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri) |
ExchangeFailureHandlingEvent(Exchange source,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri) |
Modifier and Type | Method and Description |
---|---|
Processor |
ManagedErrorHandler.getErrorHandler() |
Processor |
ManagedProcessor.getProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
JMXNotificationTraceEventHandler.traceExchange(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange) |
Object |
JMXNotificationTraceEventHandler.traceExchangeIn(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange) |
void |
JMXNotificationTraceEventHandler.traceExchangeOut(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange,
Object traceState) |
Constructor and Description |
---|
ManagedErrorHandler(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory builder) |
ManagedProcess(CamelContext context,
Processor processor,
ProcessDefinition definition) |
ManagedProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition) |
Modifier and Type | Interface and Description |
---|---|
interface |
ModelChannel |
Modifier and Type | Field and Description |
---|---|
protected Processor |
InterceptDefinition.output |
Modifier and Type | Field and Description |
---|---|
protected List<Processor> |
InterceptDefinition.intercepted |
Modifier and Type | Method and Description |
---|---|
Processor |
ProcessorDefinition.createChildProcessor(RouteContext routeContext,
boolean mandatory)
Creates the child processor (outputs) from the current definition
|
protected Processor |
ProcessorDefinition.createCompositeProcessor(RouteContext routeContext,
List<Processor> list)
Creates a new instance of some kind of composite processor which defaults
to using a
Pipeline but derived classes could change the behaviour |
protected Processor |
MulticastDefinition.createCompositeProcessor(RouteContext routeContext,
List<Processor> list) |
Processor |
ProcessorDefinition.createOutputsProcessor(RouteContext routeContext)
Prefer to use {#link #createChildProcessor}.
|
protected Processor |
ProcessorDefinition.createOutputsProcessor(RouteContext routeContext,
Collection<ProcessorDefinition<?>> outputs) |
protected Processor |
ProcessorDefinition.createOutputsProcessorImpl(RouteContext routeContext,
Collection<ProcessorDefinition<?>> outputs) |
Processor |
SetBodyDefinition.createProcessor(RouteContext routeContext) |
Processor |
IdempotentConsumerDefinition.createProcessor(RouteContext routeContext) |
Processor |
LoadBalanceDefinition.createProcessor(RouteContext routeContext) |
Processor |
InterceptFromDefinition.createProcessor(RouteContext routeContext) |
Processor |
DynamicRouterDefinition.createProcessor(RouteContext routeContext) |
Processor |
HystrixDefinition.createProcessor(RouteContext routeContext) |
Processor |
RollbackDefinition.createProcessor(RouteContext routeContext) |
Processor |
LogDefinition.createProcessor(RouteContext routeContext) |
Processor |
StopDefinition.createProcessor(RouteContext routeContext) |
Processor |
ConvertBodyDefinition.createProcessor(RouteContext routeContext) |
Processor |
ChoiceDefinition.createProcessor(RouteContext routeContext) |
Processor |
AggregateDefinition.createProcessor(RouteContext routeContext) |
Processor |
SplitDefinition.createProcessor(RouteContext routeContext) |
Processor |
TransformDefinition.createProcessor(RouteContext routeContext) |
Processor |
InterceptSendToEndpointDefinition.createProcessor(RouteContext routeContext) |
Processor |
RoutingSlipDefinition.createProcessor(RouteContext routeContext) |
Processor |
PipelineDefinition.createProcessor(RouteContext routeContext) |
Processor |
InterceptDefinition.createProcessor(RouteContext routeContext) |
Processor |
OtherwiseDefinition.createProcessor(RouteContext routeContext) |
Processor |
WireTapDefinition.createProcessor(RouteContext routeContext) |
Processor |
SetHeaderDefinition.createProcessor(RouteContext routeContext) |
Processor |
AOPDefinition.createProcessor(RouteContext routeContext)
Deprecated.
|
Processor |
UnmarshalDefinition.createProcessor(RouteContext routeContext) |
Processor |
PollEnrichDefinition.createProcessor(RouteContext routeContext) |
Processor |
BeanDefinition.createProcessor(RouteContext routeContext) |
Processor |
RemovePropertiesDefinition.createProcessor(RouteContext routeContext) |
Processor |
TransactedDefinition.createProcessor(RouteContext routeContext) |
Processor |
EnrichDefinition.createProcessor(RouteContext routeContext) |
Processor |
RemoveHeaderDefinition.createProcessor(RouteContext routeContext) |
Processor |
SortDefinition.createProcessor(RouteContext routeContext) |
Processor |
SendDefinition.createProcessor(RouteContext routeContext) |
Processor |
SetOutHeaderDefinition.createProcessor(RouteContext routeContext)
Deprecated.
|
Processor |
DelayDefinition.createProcessor(RouteContext routeContext) |
Processor |
SagaDefinition.createProcessor(RouteContext routeContext) |
Processor |
ThreadsDefinition.createProcessor(RouteContext routeContext) |
Processor |
ProcessorDefinition.createProcessor(RouteContext routeContext)
Override this in definition class and implement logic to create the processor
based on the definition model.
|
Processor |
LoopDefinition.createProcessor(RouteContext routeContext) |
Processor |
SetFaultBodyDefinition.createProcessor(RouteContext routeContext) |
Processor |
SetExchangePatternDefinition.createProcessor(RouteContext routeContext) |
Processor |
MulticastDefinition.createProcessor(RouteContext routeContext) |
Processor |
OnFallbackDefinition.createProcessor(RouteContext routeContext) |
Processor |
ScriptDefinition.createProcessor(RouteContext routeContext) |
Processor |
ThrottleDefinition.createProcessor(RouteContext routeContext) |
Processor |
TryDefinition.createProcessor(RouteContext routeContext) |
Processor |
PolicyDefinition.createProcessor(RouteContext routeContext) |
Processor |
ThrowExceptionDefinition.createProcessor(RouteContext routeContext) |
Processor |
OnCompletionDefinition.createProcessor(RouteContext routeContext) |
Processor |
MarshalDefinition.createProcessor(RouteContext routeContext) |
Processor |
RecipientListDefinition.createProcessor(RouteContext routeContext) |
Processor |
SamplingDefinition.createProcessor(RouteContext routeContext) |
Processor |
FinallyDefinition.createProcessor(RouteContext routeContext) |
Processor |
ToDynamicDefinition.createProcessor(RouteContext routeContext) |
Processor |
ProcessDefinition.createProcessor(RouteContext routeContext) |
Processor |
ResequenceDefinition.createProcessor(RouteContext routeContext) |
Processor |
SetPropertyDefinition.createProcessor(RouteContext routeContext) |
Processor |
RemoveHeadersDefinition.createProcessor(RouteContext routeContext) |
Processor |
RemovePropertyDefinition.createProcessor(RouteContext routeContext) |
Processor |
ClaimCheckDefinition.createProcessor(RouteContext routeContext) |
protected Processor |
ProcessorDefinition.createProcessor(RouteContext routeContext,
ProcessorDefinition<?> output) |
Processor |
OnExceptionDefinition.getErrorHandler(String routeId) |
Processor |
InterceptDefinition.getInterceptedProcessor(int index) |
Processor |
WireTapDefinition.getNewExchangeProcessor() |
Processor |
OnCompletionDefinition.getOnCompletion(String routeId) |
Processor |
OnExceptionDefinition.getOnExceptionOccurred() |
Processor |
SplitDefinition.getOnPrepare() |
Processor |
WireTapDefinition.getOnPrepare() |
Processor |
MulticastDefinition.getOnPrepare() |
Processor |
RecipientListDefinition.getOnPrepare() |
Processor |
OnExceptionDefinition.getOnRedelivery() |
protected Processor |
ProcessorDefinition.makeProcessor(RouteContext routeContext)
Creates the processor and wraps it in any necessary interceptors and error handlers
|
protected Processor |
ProcessorDefinition.wrapChannel(RouteContext routeContext,
Processor processor,
ProcessorDefinition<?> child) |
protected Processor |
ProcessorDefinition.wrapChannel(RouteContext routeContext,
Processor processor,
ProcessorDefinition<?> child,
Boolean inheritErrorHandler) |
protected Processor |
ProcessorDefinition.wrapInErrorHandler(RouteContext routeContext,
Processor output)
Wraps the given output in an error handler
|
Processor |
ProcessorDefinition.wrapProcessor(RouteContext routeContext,
Processor processor)
Wraps the child processor in whatever necessary interceptors and error handlers
|
Modifier and Type | Method and Description |
---|---|
Collection<Processor> |
OnExceptionDefinition.getErrorHandlers() |
Collection<Processor> |
OnCompletionDefinition.getOnCompletions() |
Modifier and Type | Method and Description |
---|---|
WireTapDefinition<Type> |
WireTapDefinition.newExchange(Processor processor)
Sends a new Exchange, instead of tapping an existing, using
ExchangePattern.InOnly |
OnExceptionDefinition |
OnExceptionDefinition.onExceptionOccurred(Processor processor)
Sets a processor that should be processed just after an exception occurred.
|
SplitDefinition |
SplitDefinition.onPrepare(Processor onPrepare)
|
WireTapDefinition<Type> |
WireTapDefinition.onPrepare(Processor onPrepare)
|
MulticastDefinition |
MulticastDefinition.onPrepare(Processor onPrepare)
|
RecipientListDefinition<Type> |
RecipientListDefinition.onPrepare(Processor onPrepare)
|
OnExceptionDefinition |
OnExceptionDefinition.onRedelivery(Processor processor)
Sets a processor that should be processed before a redelivery attempt.
|
Type |
ProcessorDefinition.process(Processor processor)
Message Translator EIP:
Adds the custom processor to this destination which could be a final
destination, or could be a transformation in a pipeline
|
void |
WireTapDefinition.setNewExchangeProcessor(Processor processor)
To use a Processor for creating a new body as the message to use for wire tapping
|
void |
OnExceptionDefinition.setOnExceptionOccurred(Processor onExceptionOccurred) |
void |
SplitDefinition.setOnPrepare(Processor onPrepare) |
void |
WireTapDefinition.setOnPrepare(Processor onPrepare) |
void |
MulticastDefinition.setOnPrepare(Processor onPrepare) |
void |
RecipientListDefinition.setOnPrepare(Processor onPrepare) |
void |
OnExceptionDefinition.setOnRedelivery(Processor onRedelivery) |
WireTapDefinition<Type> |
ProcessorDefinition.wireTap(String uri,
boolean copy,
Processor processor)
Deprecated.
use the fluent builder from
WireTapDefinition , will be removed in Camel 3.0 |
WireTapDefinition<Type> |
ProcessorDefinition.wireTap(String uri,
Processor processor)
Deprecated.
use the fluent builder from
WireTapDefinition , will be removed in Camel 3.0 |
protected Processor |
ProcessorDefinition.wrapChannel(RouteContext routeContext,
Processor processor,
ProcessorDefinition<?> child) |
protected Processor |
ProcessorDefinition.wrapChannel(RouteContext routeContext,
Processor processor,
ProcessorDefinition<?> child,
Boolean inheritErrorHandler) |
protected Processor |
ProcessorDefinition.wrapInErrorHandler(RouteContext routeContext,
Processor output)
Wraps the given output in an error handler
|
Processor |
ProcessorDefinition.wrapProcessor(RouteContext routeContext,
Processor processor)
Wraps the child processor in whatever necessary interceptors and error handlers
|
Modifier and Type | Method and Description |
---|---|
protected Processor |
ProcessorDefinition.createCompositeProcessor(RouteContext routeContext,
List<Processor> list)
Creates a new instance of some kind of composite processor which defaults
to using a
Pipeline but derived classes could change the behaviour |
protected Processor |
MulticastDefinition.createCompositeProcessor(RouteContext routeContext,
List<Processor> list) |
Constructor and Description |
---|
ProcessDefinition(Processor processor) |
Modifier and Type | Method and Description |
---|---|
Processor |
ServiceCallDefinition.createProcessor(RouteContext routeContext) |
Modifier and Type | Interface and Description |
---|---|
interface |
ErrorHandler
An interface used to represent an error handler
|
Modifier and Type | Class and Description |
---|---|
class |
AOPProcessor
Deprecated.
|
class |
BatchProcessor
Deprecated.
may be removed in the future when we overhaul the resequencer EIP
|
class |
CamelInternalProcessor
Internal
Processor that Camel routing engine used during routing for cross cutting functionality such as:
Execute UnitOfWork
Keeping track which route currently is being routed
Execute RoutePolicy
Gather JMX performance statics
Tracing
Debugging
Message History
Stream Caching
Transformer
... |
class |
CamelLogger
Deprecated.
This class has been split up into org.apache.camel.util.CamelLogger and org.apache.camel.processor.CamelLogProcessor
|
class |
CamelLogProcessor
A
Processor which just logs to a CamelLogger object which can be used
as an exception handler instead of using a dead letter queue. |
class |
CatchProcessor
A processor which catches exceptions.
|
class |
ChoiceProcessor
Implements a Choice structure where one or more predicates are used which if
they are true their processors are used, with a default otherwise clause used
if none match.
|
class |
ClaimCheckProcessor
ClaimCheck EIP implementation.
|
class |
ConvertBodyProcessor
A processor which converts the payload of the input message to be of the given type
If the conversion fails an
InvalidPayloadException is thrown. |
class |
DeadLetterChannel
Implements a Dead Letter
Channel after attempting to redeliver the message using the
RedeliveryPolicy |
class |
DefaultErrorHandler
Default error handler
|
class |
Delayer
A Delayer which
delays processing the exchange until the correct amount of time has elapsed
using an expression to determine the delivery time.
|
class |
DelayProcessorSupport
A useful base class for any processor which provides some kind of throttling
or delayed processing.
|
class |
DelegateAsyncProcessor
A Delegate pattern which delegates processing to a nested
AsyncProcessor which can
be useful for implementation inheritance when writing an Policy
Important: This implementation does support the asynchronous routing engine. |
class |
DelegateProcessor
|
class |
DelegateSyncProcessor
|
class |
DynamicRouter
Implements a Dynamic Router pattern
where the destination(s) is computed at runtime.
|
class |
Enricher
A content enricher that enriches input data by first obtaining additional
data from a resource represented by an endpoint
producer
and second by aggregating input data and additional data. |
class |
ErrorHandlerSupport
Support class for
ErrorHandler implementations. |
class |
EvaluateExpressionProcessor
A
Processor which evaluates an Expression
and stores the result as a property on the Exchange with the key
Exchange.EVALUATE_EXPRESSION_RESULT . |
class |
ExchangePatternProcessor
Processor to set
ExchangePattern on the Exchange . |
class |
FatalFallbackErrorHandler
An
ErrorHandler used as a safe fallback when
processing by other error handlers such as the OnExceptionDefinition . |
class |
FilterProcessor
The processor which implements the
Message Filter EIP pattern.
|
class |
FinallyProcessor
Processor to handle do finally supporting asynchronous routing engine
|
class |
InterceptEndpointProcessor
Endpoint intercept processor so we know the processor is supposed to intercept an endpoint.
|
class |
InterceptorToAsyncProcessorBridge
A bridge to have regular interceptors implemented as
Processor
work with the asynchronous routing engine without causing side effects. |
class |
LoggingErrorHandler
Deprecated.
use
DeadLetterChannel using a log endpoint instead |
class |
LogProcessor
A processor which evaluates an
Expression and logs it. |
class |
LoopProcessor
The processor which sends messages in a loop.
|
class |
MarshalProcessor
Marshals the body of the incoming message using the given
data format
|
class |
MulticastProcessor
Implements the Multicast pattern to send a message exchange to a number of
endpoints, each endpoint receiving a copy of the message exchange.
|
class |
OnCompletionProcessor
Processor implementing onCompletion.
|
class |
Pipeline
Creates a Pipeline pattern where the output of the previous step is sent as
input to the next step, reusing the same message exchanges
|
class |
PollEnricher
A content enricher that enriches input data by first obtaining additional
data from a resource represented by an endpoint
producer
and second by aggregating input data and additional data. |
class |
RecipientList
Implements a dynamic Recipient List
pattern where the list of actual endpoints to send a message exchange to are
dependent on some dynamic expression.
|
class |
RecipientListProcessor
Implements a dynamic Recipient List
pattern where the list of actual endpoints to send a message exchange to are
dependent on some dynamic expression.
|
class |
RedeliveryErrorHandler
Base redeliverable error handler that also supports a final dead letter queue in case
all redelivery attempts fail.
|
class |
RemoveHeaderProcessor
A processor which removes the header from the IN or OUT message
|
class |
RemoveHeadersProcessor
A processor which removes one ore more headers from the IN or OUT message
|
class |
RemovePropertiesProcessor
A processor which removes one ore more properties from the exchange
|
class |
RemovePropertyProcessor
A processor which removes the property from the exchange
|
class |
Resequencer
An implementation of the Resequencer
which can reorder messages within a batch.
|
class |
RollbackProcessor
Processor for marking an
Exchange to rollback. |
class |
RoutingSlip
Implements a Routing Slip
pattern where the list of actual endpoints to send a message exchange to are
dependent on the value of a message header.
|
class |
SamplingThrottler
A
SamplingThrottler is a special kind of throttler. |
class |
ScriptProcessor
A processor which executes the script as an expression and does not change the message body.
|
class |
SendDynamicProcessor
Processor for forwarding exchanges to a dynamic endpoint destination.
|
class |
SendProcessor
Processor for forwarding exchanges to a static endpoint destination.
|
class |
SetBodyProcessor
A processor which sets the body on the IN or OUT message with an
Expression |
class |
SetHeaderProcessor
A processor which sets the header on the IN or OUT message with an
Expression |
class |
SetPropertyProcessor
A processor which sets the property on the exchange with an
Expression |
class |
SortProcessor<T>
A processor that sorts the expression using a comparator
|
class |
Splitter
Implements a dynamic Splitter pattern
where an expression is evaluated to iterate through each of the parts of a
message and then each part is then send to some endpoint.
|
class |
StopProcessor
Stops continue processing the route and marks it as complete.
|
class |
StreamResequencer
A resequencer that re-orders a (continuous) stream of
Exchange s. |
class |
ThreadsProcessor
Threads processor that leverage a thread pool for continue processing the
Exchange s
using the asynchronous routing engine. |
class |
Throttler
A Throttler
will set a limit on the maximum number of message exchanges which can be sent
to a processor within a specific time period.
|
class |
ThroughputLogger
A logger for logging message throughput.
|
class |
ThrowExceptionProcessor
|
class |
TransformProcessor
A processor which sets the body on the OUT message with an
Expression . |
class |
TryProcessor
Implements try/catch/finally type processing
|
class |
UnitOfWorkProducer
Ensures a
Producer is executed within an UnitOfWork . |
class |
UnmarshalProcessor
Unmarshals the body of the incoming message using the given
data format
|
class |
WireTapProcessor
Processor for wire tapping exchanges to an endpoint destination.
|
class |
WrapProcessor
A processor which ensures wrapping processors is having lifecycle handled.
|
Modifier and Type | Field and Description |
---|---|
protected Processor |
RedeliveryErrorHandler.deadLetter |
protected Processor |
TryProcessor.finallyProcessor |
protected Processor |
RedeliveryErrorHandler.onExceptionProcessor |
protected Processor |
MulticastProcessor.onPrepare |
protected Processor |
RedeliveryErrorHandler.onPrepareProcessor |
protected Processor |
RedeliveryErrorHandler.output |
protected Processor |
DelegateProcessor.processor |
protected Processor |
DelegateSyncProcessor.processor |
protected Processor |
RedeliveryErrorHandler.redeliveryProcessor |
protected Processor |
TryProcessor.tryProcessor |
Modifier and Type | Field and Description |
---|---|
protected List<Processor> |
TryProcessor.catchClauses |
Modifier and Type | Method and Description |
---|---|
protected Processor |
MulticastProcessor.createErrorHandler(RouteContext routeContext,
Exchange exchange,
Processor processor) |
protected Processor |
MulticastProcessor.createUnitOfWorkProcessor(RouteContext routeContext,
Processor processor,
Exchange exchange)
Strategy to create the unit of work to be used for the sub route
|
Processor |
RedeliveryErrorHandler.getDeadLetter()
Returns the dead letter that message exchanges will be sent to if the
redelivery attempts fail
|
Processor |
WireTapProcessor.getOnPrepare() |
Processor |
RecipientList.getOnPrepare() |
Processor |
ChoiceProcessor.getOtherwise() |
Processor |
RedeliveryErrorHandler.getOutput()
Returns the output processor
|
abstract Processor |
ErrorHandlerSupport.getOutput()
Gets the output
|
Processor |
StreamResequencer.getProcessor()
Returns the next processor.
|
Processor |
ProcessorExchangePair.getProcessor() |
Processor |
DelegateProcessor.getProcessor() |
Processor |
BatchProcessor.getProcessor()
Deprecated.
|
Processor |
DelegateSyncProcessor.getProcessor() |
static Processor |
Pipeline.newInstance(CamelContext camelContext,
List<Processor> processors) |
static Processor |
Pipeline.newInstance(CamelContext camelContext,
Processor... processors) |
Modifier and Type | Method and Description |
---|---|
List<Processor> |
WireTapProcessor.getNewExchangeProcessors() |
Collection<Processor> |
MulticastProcessor.getProcessors()
Returns the producers to multicast to
|
List<Processor> |
MulticastProcessor.next() |
List<Processor> |
TryProcessor.next() |
List<Processor> |
DelegateAsyncProcessor.next() |
List<Processor> |
WrapProcessor.next() |
List<Processor> |
StreamResequencer.next() |
List<Processor> |
ChoiceProcessor.next() |
List<Processor> |
RedeliveryErrorHandler.next() |
List<Processor> |
DelegateProcessor.next() |
List<Processor> |
BatchProcessor.next()
Deprecated.
|
List<Processor> |
DelegateSyncProcessor.next() |
Modifier and Type | Method and Description |
---|---|
void |
WireTapProcessor.addNewExchangeProcessor(Processor processor) |
void |
RedeliveryErrorHandler.changeOutput(Processor output)
Allows to change the output of the error handler which are used when optimising the
JMX instrumentation to use either an advice or wrapped processor when calling a processor.
|
protected Processor |
MulticastProcessor.createErrorHandler(RouteContext routeContext,
Exchange exchange,
Processor processor) |
protected ProcessorExchangePair |
MulticastProcessor.createProcessorExchangePair(int index,
Processor processor,
Exchange exchange,
RouteContext routeContext)
Creates the
ProcessorExchangePair which holds the processor and exchange to be send out. |
protected Processor |
MulticastProcessor.createUnitOfWorkProcessor(RouteContext routeContext,
Processor processor,
Exchange exchange)
Strategy to create the unit of work to be used for the sub route
|
protected boolean |
RedeliveryErrorHandler.deliverToFailureProcessor(Processor processor,
boolean isDeadLetterChannel,
Exchange exchange,
RedeliveryErrorHandler.RedeliveryData data,
AsyncCallback callback)
All redelivery attempts failed so move the exchange to the dead letter queue
|
protected static void |
OnCompletionProcessor.doProcess(Processor processor,
Exchange exchange)
Processes the exchange by the processors
|
static Processor |
Pipeline.newInstance(CamelContext camelContext,
Processor... processors) |
boolean |
SharedCamelInternalProcessor.process(Exchange exchange,
AsyncCallback callback,
AsyncProcessor processor,
Processor resultProcessor)
Asynchronous API
|
void |
SharedCamelInternalProcessor.process(Exchange exchange,
AsyncProcessor processor,
Processor resultProcessor)
Synchronous API
|
void |
WireTapProcessor.setOnPrepare(Processor onPrepare) |
void |
RecipientList.setOnPrepare(Processor onPrepare) |
void |
DelegateAsyncProcessor.setProcessor(Processor processor) |
void |
DelegateProcessor.setProcessor(Processor processor) |
void |
InterceptorToAsyncProcessorBridge.setTarget(Processor target) |
protected static void |
MulticastProcessor.setToEndpoint(Exchange exchange,
Processor processor) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
TryProcessor.continueRouting(Iterator<Processor> it,
Exchange exchange) |
protected boolean |
Pipeline.continueRouting(Iterator<Processor> it,
Exchange exchange) |
static Processor |
Pipeline.newInstance(CamelContext camelContext,
List<Processor> processors) |
protected boolean |
TryProcessor.process(Exchange exchange,
AsyncCallback callback,
Iterator<Processor> processors,
AsyncProcessor processor,
Object lastHandled) |
void |
WireTapProcessor.setNewExchangeProcessors(List<Processor> newExchangeProcessors) |
Constructor and Description |
---|
AOPProcessor(Processor tryProcessor,
List<Processor> catchClauses,
Processor finallyProcessor)
Deprecated.
|
BacklogDebuggerAdvice(BacklogDebugger backlogDebugger,
Processor target,
ProcessorDefinition<?> definition) |
BatchProcessor(CamelContext camelContext,
Processor processor,
Collection<Exchange> collection,
Expression expression)
Deprecated.
|
CamelInternalProcessor(Processor processor) |
CatchProcessor(List<Class<? extends Throwable>> exceptions,
Processor processor,
Predicate onWhen,
Predicate handled) |
ChoiceProcessor(List<FilterProcessor> filters,
Processor otherwise) |
DeadLetterChannel(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy,
Processor deadLetter,
String deadLetterUri,
boolean deadLetterHandleException,
boolean useOriginalBodyPolicy,
Predicate retryWhile,
ScheduledExecutorService executorService,
Processor onPrepareProcessor,
Processor onExceptionOccurredProcessor)
Creates the dead letter channel.
|
DefaultErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy,
Predicate retryWhile,
ScheduledExecutorService executorService,
Processor onPrepareProcessor,
Processor onExceptionOccurredProcessor)
Creates the default error handler.
|
Delayer(CamelContext camelContext,
Processor processor,
Expression delay,
ScheduledExecutorService executorService,
boolean shutdownExecutorService) |
DelayProcessorSupport(CamelContext camelContext,
Processor processor) |
DelayProcessorSupport(CamelContext camelContext,
Processor processor,
ScheduledExecutorService executorService,
boolean shutdownExecutorService) |
DelegateAsyncProcessor(Processor processor) |
DelegateProcessor(Processor processor) |
DelegateSyncProcessor(Processor processor) |
FatalFallbackErrorHandler(Processor processor) |
FatalFallbackErrorHandler(Processor processor,
boolean isDeadLetterChannel) |
FilterProcessor(Predicate predicate,
Processor processor) |
FinallyProcessor(Processor processor) |
InterceptEndpointProcessor(String uri,
Processor processor) |
InterceptorToAsyncProcessorBridge(Processor interceptor)
Constructs the bridge
|
InterceptorToAsyncProcessorBridge(Processor interceptor,
AsyncProcessor target)
Constructs the bridge
|
LoggingErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy)
Deprecated.
Creates the logging error handler.
|
LoopProcessor(Processor processor,
Expression expression,
Predicate predicate,
boolean copy) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork)
Deprecated.
|
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
OnCompletionProcessor(CamelContext camelContext,
Processor processor,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean onCompleteOnly,
boolean onFailureOnly,
Predicate onWhen,
boolean useOriginalBody,
boolean afterConsumer) |
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork)
Deprecated.
|
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate) |
RecipientListProcessor(CamelContext camelContext,
ProducerCache producerCache,
Iterator<Object> iter,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
RedeliveryErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
Processor redeliveryProcessor,
RedeliveryPolicy redeliveryPolicy,
Processor deadLetter,
String deadLetterUri,
boolean deadLetterHandleNewException,
boolean useOriginalMessagePolicy,
Predicate retryWhile,
ScheduledExecutorService executorService,
Processor onPrepareProcessor,
Processor onExceptionProcessor) |
Resequencer(CamelContext camelContext,
Processor processor,
Expression expression) |
Resequencer(CamelContext camelContext,
Processor processor,
Expression expression,
boolean allowDuplicates,
boolean reverse) |
Resequencer(CamelContext camelContext,
Processor processor,
Set<Exchange> collection,
Expression expression) |
SamplingThrottler(Processor processor,
long messageFrequency) |
SamplingThrottler(Processor processor,
long samplePeriod,
TimeUnit units) |
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy) |
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean useSubUnitOfWork)
Deprecated.
|
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean useSubUnitOfWork,
boolean parallelAggregate) |
Splitter(CamelContext camelContext,
Expression expression,
Processor destination,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean useSubUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
StreamResequencer(CamelContext camelContext,
Processor processor,
SequenceElementComparator<Exchange> comparator,
Expression expression)
Creates a new
StreamResequencer instance. |
Throttler(CamelContext camelContext,
Processor processor,
Expression maxRequestsPerPeriodExpression,
long timePeriodMillis,
ExecutorService asyncExecutor,
boolean shutdownAsyncExecutor,
boolean rejectExecution) |
TryProcessor(Processor tryProcessor,
List<Processor> catchClauses,
Processor finallyProcessor) |
WireTapProcessor(SendDynamicProcessor dynamicProcessor,
Processor processor,
ExchangePattern exchangePattern,
ExecutorService executorService,
boolean shutdownExecutorService) |
WrapProcessor(Processor processor,
Processor wrapped) |
Constructor and Description |
---|
AOPProcessor(Processor tryProcessor,
List<Processor> catchClauses,
Processor finallyProcessor)
Deprecated.
|
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork)
Deprecated.
|
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate) |
MulticastProcessor(CamelContext camelContext,
Collection<Processor> processors,
AggregationStrategy aggregationStrategy,
boolean parallelProcessing,
ExecutorService executorService,
boolean shutdownExecutorService,
boolean streaming,
boolean stopOnException,
long timeout,
Processor onPrepare,
boolean shareUnitOfWork,
boolean parallelAggregate,
boolean stopOnAggregateException) |
Pipeline(CamelContext camelContext,
Collection<Processor> processors) |
TryProcessor(Processor tryProcessor,
List<Processor> catchClauses,
Processor finallyProcessor) |
Modifier and Type | Class and Description |
---|---|
class |
AggregateProcessor
An implementation of the Aggregator
pattern where a batch of messages are processed (up to a maximum amount or
until some timeout is reached) and messages for the same correlation key are
combined together using some kind of
AggregationStrategy
(by default the latest message is used) to compress many message exchanges
into a smaller number of exchanges. |
Modifier and Type | Method and Description |
---|---|
List<Processor> |
AggregateProcessor.next() |
Constructor and Description |
---|
AggregateProcessor(CamelContext camelContext,
Processor processor,
Expression correlationExpression,
AggregationStrategy aggregationStrategy,
ExecutorService executorService,
boolean shutdownExecutorService) |
Modifier and Type | Method and Description |
---|---|
Processor |
DataFormatBinding.createConsumeProcessor()
Deprecated.
|
Processor |
DataFormatBinding.createProduceProcessor()
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
IdempotentConsumer
An implementation of the Idempotent Consumer pattern.
|
Modifier and Type | Method and Description |
---|---|
Processor |
IdempotentConsumer.getProcessor() |
Modifier and Type | Method and Description |
---|---|
List<Processor> |
IdempotentConsumer.next() |
Constructor and Description |
---|
IdempotentConsumer(Expression messageIdExpression,
IdempotentRepository<String> idempotentRepository,
boolean eager,
boolean completionEager,
boolean skipDuplicate,
boolean removeOnFailure,
Processor processor) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultChannel
DefaultChannel is the default
Channel . |
class |
DelayInterceptor
Deprecated.
no longer in use, will be removed in next Camel release.
|
class |
HandleFaultInterceptor |
class |
StreamCachingInterceptor
Deprecated.
no longer in use, will be removed in next Camel release.
|
class |
TraceInterceptor
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Processor> |
DefaultChannel.next() |
Modifier and Type | Method and Description |
---|---|
boolean |
BacklogDebugger.afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
long timeTaken) |
boolean |
BacklogDebugger.beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition) |
Processor |
DefaultTraceInterceptorFactory.createTraceInterceptor(ProcessorDefinition<?> node,
Processor target,
TraceFormatter formatter,
Tracer tracer)
Deprecated.
|
Processor |
TraceInterceptorFactory.createTraceInterceptor(ProcessorDefinition<?> node,
Processor target,
TraceFormatter formatter,
Tracer tracer)
Deprecated.
Create a trace interceptor.
|
void |
DefaultChannel.setErrorHandler(Processor errorHandler) |
void |
DefaultChannel.setNextProcessor(Processor next) |
void |
DefaultChannel.setOutput(Processor output) |
void |
DefaultTraceEventHandler.traceExchange(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange)
Deprecated.
|
void |
TraceEventHandler.traceExchange(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange)
Deprecated.
Event called when an
Exchange is about to be processed
This event is only called if trace out has been disabled (which it is by default). |
Object |
DefaultTraceEventHandler.traceExchangeIn(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange)
Deprecated.
|
Object |
TraceEventHandler.traceExchangeIn(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange)
Deprecated.
Event called when an
Exchange is about to be processed (in)
This event is only called if trace out has been enabled. |
void |
DefaultTraceEventHandler.traceExchangeOut(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange,
Object traceState)
Deprecated.
|
void |
TraceEventHandler.traceExchangeOut(ProcessorDefinition<?> node,
Processor target,
TraceInterceptor traceInterceptor,
Exchange exchange,
Object traceState)
Deprecated.
Event called when an
Exchange has been processed (out)
This event is only called if trace out has been enabled. |
Processor |
Delayer.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
Deprecated.
|
Processor |
Debug.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget) |
Processor |
StreamCaching.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
Deprecated.
|
Processor |
BacklogTracer.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
Deprecated.
|
Processor |
Tracer.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
Deprecated.
|
Processor |
HandleFault.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget) |
Processor |
BacklogDebugger.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
Deprecated.
|
Constructor and Description |
---|
DelayInterceptor(CamelContext camelContext,
ProcessorDefinition<?> node,
Processor target,
Delayer delayer)
Deprecated.
|
HandleFaultInterceptor(Processor processor) |
StreamCachingInterceptor(Processor processor)
Deprecated.
|
TraceInterceptor(ProcessorDefinition<?> node,
Processor target,
TraceFormatter formatter,
Tracer tracer)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LoadBalancer
A strategy for load balancing across a number of
Processor instances |
Modifier and Type | Class and Description |
---|---|
class |
CircuitBreakerLoadBalancer
Deprecated.
|
class |
FailOverLoadBalancer
This FailOverLoadBalancer will failover to use next processor when an exception occurred
This implementation mirrors the logic from the
Pipeline in the async variation
as the failover load balancer is a specialized pipeline. |
class |
LoadBalancerSupport
A default base class for a
LoadBalancer implementation. |
class |
QueueLoadBalancer
A base class for
LoadBalancer implementations which choose a single
destination for each exchange (rather like JMS Queues) |
class |
RandomLoadBalancer
Implements the random load balancing policy
|
class |
RoundRobinLoadBalancer
Implements the round robin load balancing policy
|
class |
SimpleLoadBalancerSupport
A default base class for a
LoadBalancer implementation. |
class |
StickyLoadBalancer
Implements a sticky load balancer using an
Expression to calculate
a correlation key to perform the sticky load balancing; rather like jsessionid in the web
or JMSXGroupID in JMS. |
class |
TopicLoadBalancer
A
LoadBalancer implementations which sends to all destinations
(rather like JMS Topics). |
class |
WeightedLoadBalancer |
class |
WeightedRandomLoadBalancer |
class |
WeightedRoundRobinLoadBalancer |
Modifier and Type | Method and Description |
---|---|
protected Processor |
RandomLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
StickyLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected abstract Processor |
QueueLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
RoundRobinLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
WeightedRandomLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
WeightedRoundRobinLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
List<Processor> |
LoadBalancerSupport.getProcessors() |
List<Processor> |
LoadBalancer.getProcessors()
Returns the current processors available to this load balancer
|
List<Processor> |
LoadBalancerSupport.next() |
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancerSupport.addProcessor(Processor processor) |
void |
LoadBalancer.addProcessor(Processor processor)
Adds a new processor to the load balancer
|
protected Exchange |
TopicLoadBalancer.copyExchangeStrategy(Processor processor,
Exchange exchange)
Strategy method to copy the exchange before sending to another endpoint.
|
void |
StickyLoadBalancer.removeProcessor(Processor processor) |
void |
LoadBalancerSupport.removeProcessor(Processor processor) |
void |
LoadBalancer.removeProcessor(Processor processor)
Removes the given processor from the load balancer
|
Modifier and Type | Method and Description |
---|---|
protected Processor |
RandomLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
StickyLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected abstract Processor |
QueueLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
RoundRobinLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
WeightedRandomLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
protected Processor |
WeightedRoundRobinLoadBalancer.chooseProcessor(List<Processor> processors,
Exchange exchange) |
Constructor and Description |
---|
LoadBalancerConsumer(Endpoint endpoint,
Processor processor,
LoadBalancer loadBalancer) |
Modifier and Type | Class and Description |
---|---|
class |
MandatorySagaProcessor
Saga processor implementing the MANDATORY propagation mode.
|
class |
NeverSagaProcessor
Saga processor implementing the NEVER propagation mode.
|
class |
NotSupportedSagaProcessor
Saga processor implementing the NOT_SUPPORTED propagation mode.
|
class |
RequiredSagaProcessor
Saga processor implementing the REQUIRED propagation mode.
|
class |
RequiresNewSagaProcessor
Saga processor implementing the REQUIRES_NEW propagation mode.
|
class |
SagaProcessor
Processor for handling sagas.
|
class |
SupportsSagaProcessor
Saga processor implementing the SUPPORTS propagation mode.
|
Modifier and Type | Method and Description |
---|---|
SagaProcessorBuilder |
SagaProcessorBuilder.childProcessor(Processor childProcessor) |
Modifier and Type | Class and Description |
---|---|
class |
PredicateValidatingProcessor
A processor which validates the content of the inbound message body against a
Predicate . |
class |
ValidatingProcessor
A processor which validates the XML version of the inbound message body
against some schema either in XSD or RelaxNG
|
Modifier and Type | Method and Description |
---|---|
Processor |
RestApiProcessorFactory.createApiProcessor(CamelContext camelContext,
String contextPath,
String contextIdPattern,
boolean contextIdListing,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST API Processor
, which provides API listing of the REST services
|
Processor |
ProcessorFactory.createChildProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition,
boolean mandatory)
Creates the child processor.
|
Processor |
Binding.createConsumeProcessor()
Deprecated.
Returns a new
Processor which is used by a consumer on an endpoint to process the
message with the binding before its passed to the endpoint consumer producer. |
Processor |
ProcessorFactory.createProcessor(RouteContext routeContext,
ProcessorDefinition<?> definition)
Creates the processor.
|
Processor |
Binding.createProduceProcessor()
Deprecated.
Returns a new
Processor which is used by a producer on an endpoint to implement
the producer side binding before the message is sent to the underlying endpoint. |
Processor |
Policy.wrap(RouteContext routeContext,
Processor processor)
Wraps any applicable interceptors around the given processor.
|
Processor |
InterceptStrategy.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
This method is invoked by
ProcessorDefinition.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route. |
Modifier and Type | Method and Description |
---|---|
void |
RouteContext.addEventDrivenProcessor(Processor processor)
Adds an event driven processor
|
void |
Breakpoint.afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
long timeTaken)
Callback invoked when the breakpoint was hit and the
Exchange has been processed (after). |
boolean |
Debugger.afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition,
long timeTaken)
Callback invoked when an
Exchange has been processed which allows implementators
to notify breakpoints. |
void |
UnitOfWork.afterProcess(Processor processor,
Exchange exchange,
AsyncCallback callback,
boolean doneSync)
Strategy for optional work to be executed after the processing
|
void |
Breakpoint.beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition)
Callback invoked when the breakpoint was hit and the
Exchange is about to be processed (before). |
boolean |
Debugger.beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition)
Callback invoked when an
Exchange is about to be processed which allows implementators
to notify breakpoints. |
AsyncCallback |
UnitOfWork.beforeProcess(Processor processor,
Exchange exchange,
AsyncCallback callback)
Strategy for optional work to be execute before processing
For example the
MDCUnitOfWork leverages this
to ensure MDC is handled correctly during routing exchanges using the
asynchronous routing engine. |
Consumer |
RestApiConsumerFactory.createApiConsumer(CamelContext camelContext,
Processor processor,
String contextPath,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST API Event
Driven Consumer, which provides API listing of the REST services
|
Consumer |
RestConsumerFactory.createConsumer(CamelContext camelContext,
Processor processor,
String verb,
String basePath,
String uriTemplate,
String consumes,
String produces,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST Event
Driven Consumer, which consumes messages from the endpoint using the given processor
|
EventObject |
EventFactory.createExchangeFailureHandledEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri)
Creates an
EventObject when an Exchange has failed
but was handled by the Camel error handlers such as an dead letter channel, or a doTry .. |
EventObject |
EventFactory.createExchangeFailureHandlingEvent(Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri)
Creates an
EventObject when an Exchange has failed
but is being handled by the Camel error handlers such as an dead letter channel, or a doTry .. |
Object |
ManagementObjectStrategy.getManagedObjectForErrorHandler(CamelContext context,
RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
Object |
ManagementObjectStrategy.getManagedObjectForProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition,
Route route) |
ObjectName |
ManagementNamingStrategy.getObjectNameForErrorHandler(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory builder) |
ObjectName |
ManagementNamingStrategy.getObjectNameForProcessor(CamelContext context,
Processor processor,
NamedNode definition) |
boolean |
Condition.matchProcess(Exchange exchange,
Processor processor,
ProcessorDefinition<?> definition)
Does the condition match
|
void |
LifecycleStrategy.onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder)
Notification on adding error handler.
|
void |
LifecycleStrategy.onErrorHandlerRemove(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder)
Notification on removing error handler.
|
Processor |
Policy.wrap(RouteContext routeContext,
Processor processor)
Wraps any applicable interceptors around the given processor.
|
Processor |
InterceptStrategy.wrapProcessorInInterceptors(CamelContext context,
ProcessorDefinition<?> definition,
Processor target,
Processor nextTarget)
This method is invoked by
ProcessorDefinition.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route. |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleStrategySupport.onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
void |
LifecycleStrategySupport.onErrorHandlerRemove(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
Modifier and Type | Method and Description |
---|---|
static AsyncProcessor |
AsyncProcessorConverterHelper.convert(Processor value) |
static boolean |
EventHelper.notifyExchangeFailureHandled(CamelContext context,
Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri) |
static boolean |
EventHelper.notifyExchangeFailureHandling(CamelContext context,
Exchange exchange,
Processor failureHandler,
boolean deadLetterChannel,
String deadLetterUri) |
static void |
EndpointHelper.pollEndpoint(Endpoint endpoint,
Processor processor)
Creates a
PollingConsumer and polls all pending messages on the
endpoint and invokes the given Processor to process each
Exchange and then closes down the consumer and throws any
exceptions thrown. |
static void |
EndpointHelper.pollEndpoint(Endpoint endpoint,
Processor processor,
long timeout)
Creates a
PollingConsumer and polls all pending messages on the endpoint
and invokes the given Processor to process each Exchange and then closes
down the consumer and throws any exceptions thrown. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractApiProducer<E extends Enum<E> & ApiName,T>
Base class for API based Producers
|
Constructor and Description |
---|
AbstractApiConsumer(AbstractApiEndpoint<E,T> endpoint,
Processor processor) |
Apache Camel