Class RouteEngineOptions

Assembly: redb.Route.dll

Root configuration options for the route engine.
Bound from configuration section "RedbRoute".

public sealed class RouteEngineOptions

Inheritance

Object→RouteEngineOptions

Properties

Attachments

Message attachment options (RedbRoute:Attachments).

public AttachmentOptions Attachments { get; set; }

ConsumerStartRetry

Retry of a consumer that failed to start with the context (RedbRoute:ConsumerStartRetry). On by default.

public ConsumerStartRetryOptions ConsumerStartRetry { get; set; }

DefaultProcessingTimeout

Default per-exchange processing timeout applied to all routes

public TimeSpan DefaultProcessingTimeout { get; set; }

DefaultThreadPoolProfile

The profile every detached step (WireTap, asynchronous OnCompletion) builds its own pool from when

public ThreadPoolProfile DefaultThreadPoolProfile { get; set; }

EnableMessageHistory

Whether to record per-node message history on every exchange (Apache Camel Message History EIP):

public bool EnableMessageHistory { get; set; }

EnableMetrics

Whether to enable metrics collection (exchange count, duration, failures).

public bool EnableMetrics { get; set; }

EnableTelemetry

Whether to enable OpenTelemetry tracing: the route spans and the transport spans connectors open through

public bool EnableTelemetry { get; set; }

Reconnect

Reconnect of a connection lost while a route runs (RedbRoute:Reconnect), for the connectors that report their

public ReconnectOptions Reconnect { get; set; }

ShutdownTimeout

Graceful shutdown timeout when stopping routes.

public TimeSpan ShutdownTimeout { get; set; }

StartupChecks

Whether the engine performs cross-cutting startup checks during route compilation

public bool StartupChecks { get; set; }

StreamCaching

Stream caching options. When is true,

public StreamCacheOptions StreamCaching { get; set; }

ThreadPoolProfiles

Named profiles a step picks with executorService (RedbRoute:ThreadPoolProfiles:<name>). A module

public Dictionary<string, ThreadPoolProfile> ThreadPoolProfiles { get; set; }

ThrowOnCompilationError

Whether to throw on startup if a route fails to compile.

public bool ThrowOnCompilationError { get; set; }