Package | Description |
---|---|
org.apache.camel.builder | |
org.apache.camel.processor |
A collection of Processor
implementations which are used to implement the
Enterprise Integration Patterns
|
org.apache.camel.processor.exceptionpolicy |
Exception policy startegies for Dead Letter Channel pattern.
|
Modifier and Type | Method and Description |
---|---|
ExceptionPolicyStrategy |
ErrorHandlerBuilderSupport.getExceptionPolicyStrategy() |
ExceptionPolicyStrategy |
ErrorHandlerBuilder.getExceptionPolicyStrategy()
Gets the exception policy strategy
|
Modifier and Type | Method and Description |
---|---|
ErrorHandlerBuilderSupport |
ErrorHandlerBuilderSupport.exceptionPolicyStrategy(ExceptionPolicyStrategy exceptionPolicyStrategy)
Sets the exception policy to use
|
void |
ErrorHandlerBuilderSupport.setExceptionPolicyStrategy(ExceptionPolicyStrategy exceptionPolicyStrategy) |
void |
ErrorHandlerBuilder.setExceptionPolicyStrategy(ExceptionPolicyStrategy exceptionPolicyStrategy)
Sets the exception policy strategy to use for resolving the
OnExceptionDefinition
to use for a given thrown exception |
Modifier and Type | Field and Description |
---|---|
protected ExceptionPolicyStrategy |
ErrorHandlerSupport.exceptionPolicy |
Modifier and Type | Method and Description |
---|---|
static ExceptionPolicyStrategy |
ErrorHandlerSupport.createDefaultExceptionPolicyStrategy()
Creates the default exception policy strategy to use.
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorHandlerSupport.setExceptionPolicy(ExceptionPolicyStrategy exceptionPolicy)
Sets the strategy to use for resolving the
OnExceptionDefinition to use
for handling thrown exceptions. |
Constructor and Description |
---|
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.
|
LoggingErrorHandler(CamelContext camelContext,
Processor output,
CamelLogger logger,
RedeliveryPolicy redeliveryPolicy,
ExceptionPolicyStrategy exceptionPolicyStrategy)
Deprecated.
Creates the logging error handler.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultExceptionPolicyStrategy
The default strategy used in Camel to resolve the
OnExceptionDefinition that should
handle the thrown exception. |
Apache Camel