Class RouteConfigurationDefinition

Assembly: redb.Route.dll

A route configuration (Apache Camel's Route Configuration): error handling declared once, apart from the routes,
and applied to the routes of any builder of the context.

A configuration without an id is the default: it applies to every route that has no configurations assigned. A
configuration with an id applies to the routes that name it with .RouteConfigurationId("id").

Declared in a .

public sealed class RouteConfigurationDefinition

Inheritance

Object→RouteConfigurationDefinition

Properties

ExceptionDefinitions

The exception handlers of the configuration, in declaration order.

public IReadOnlyList<OnExceptionDefinition> ExceptionDefinitions { get; }

Id

The id routes name the configuration by; null for the default configuration.

public string? Id { get; }

Methods

OnException(params Type[])

Defines an exception handler of the configuration for several exception types at once.

public OnExceptionDefinition OnException(params Type[] exceptionTypes)

OnException<TException>()

Defines an exception handler of the configuration: every setting and every step an OnException of a

public OnExceptionDefinition OnException<TException>() where TException : Exception