Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.builder | |
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.management |
Camel management
|
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.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
|
Modifier and Type | Method and Description |
---|---|
void |
CamelContext.setErrorHandlerBuilder(ErrorHandlerFactory errorHandlerBuilder)
Sets the default error handler builder which is inherited by the routes
|
Modifier and Type | Interface and Description |
---|---|
interface |
ErrorHandlerBuilder
A builder of a Error Handler
|
Modifier and Type | Class and Description |
---|---|
class |
DeadLetterChannelBuilder
A builder of a Dead Letter
Channel
|
class |
DefaultErrorHandlerBuilder
The default error handler builder.
|
class |
ErrorHandlerBuilderRef
Represents a proxy to an error handler builder which is resolved by named reference
|
class |
ErrorHandlerBuilderSupport
Base class for builders of error handling.
|
class |
LoggingErrorHandlerBuilder
Deprecated.
use dead letter channel with a log endpoint
|
class |
NoErrorHandlerBuilder
A builder to disable the use of an error handler so that any exceptions are thrown.
|
Modifier and Type | Method and Description |
---|---|
protected static ErrorHandlerFactory |
ErrorHandlerBuilderRef.lookupErrorHandlerBuilder(ModelCamelContext camelContext) |
static ErrorHandlerFactory |
ErrorHandlerBuilderRef.lookupErrorHandlerBuilder(RouteContext routeContext,
String ref)
Lookup the error handler by the given ref
|
static ErrorHandlerFactory |
ErrorHandlerBuilderRef.lookupErrorHandlerBuilder(RouteContext routeContext,
String ref,
boolean mandatory)
Lookup the error handler by the given ref
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCamelContext.setErrorHandlerBuilder(ErrorHandlerFactory errorHandlerBuilder) |
Modifier and Type | Method and Description |
---|---|
Object |
DefaultManagementObjectStrategy.getManagedObjectForErrorHandler(CamelContext context,
RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
ObjectName |
DefaultManagementNamingStrategy.getObjectNameForErrorHandler(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory builder) |
void |
DefaultManagementLifecycleStrategy.onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
void |
DefaultManagementLifecycleStrategy.onErrorHandlerRemove(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
Modifier and Type | Method and Description |
---|---|
ErrorHandlerFactory |
ManagedErrorHandler.getErrorHandlerBuilder() |
Constructor and Description |
---|
ManagedErrorHandler(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory builder) |
Modifier and Type | Method and Description |
---|---|
ErrorHandlerFactory |
RouteDefinition.getErrorHandlerBuilder() |
ErrorHandlerFactory |
RoutesDefinition.getErrorHandlerBuilder() |
Modifier and Type | Method and Description |
---|---|
RouteDefinition |
RouteDefinition.errorHandler(ErrorHandlerFactory errorHandlerBuilder)
Installs the given error handler builder.
|
void |
RouteDefinition.setErrorHandlerBuilder(ErrorHandlerFactory errorHandlerBuilder)
Sets the error handler to use with processors created by this builder
|
void |
RoutesDefinition.setErrorHandlerBuilder(ErrorHandlerFactory errorHandlerBuilder) |
void |
RouteDefinition.setErrorHandlerBuilderIfNull(ErrorHandlerFactory errorHandlerBuilder)
Sets the error handler if one is not already set
|
Modifier and Type | Method and Description |
---|---|
Object |
ManagementObjectStrategy.getManagedObjectForErrorHandler(CamelContext context,
RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
ObjectName |
ManagementNamingStrategy.getObjectNameForErrorHandler(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory builder) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
LifecycleStrategySupport.onErrorHandlerAdd(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
void |
LifecycleStrategySupport.onErrorHandlerRemove(RouteContext routeContext,
Processor errorHandler,
ErrorHandlerFactory errorHandlerBuilder) |
Apache Camel