Class CompiledRoute

Namespace: redb.Route.Core
Assembly: redb.Route.dll

Represents a compiled route with lifecycle state (v2 — backed by the
canonical ProcessorDefinition tree).

public sealed class CompiledRoute

Inheritance

Object→CompiledRoute

Properties

AutoStart

Whether this route should auto-start when the context starts.

public bool AutoStart { get; set; }

Consumer

The consumer instance.

public IConsumer Consumer { get; }

Definition

Original route definition (v2 tree).

public IRouteDefinition Definition { get; }

Endpoint

The source endpoint.

public IEndpoint Endpoint { get; }

FromUri

Source endpoint URI, with secrets redacted (passwords, tokens, keys, and userinfo

public string FromUri { get; }

Pipeline

Compiled processor pipeline (root of the route's processor tree).

public IProcessor Pipeline { get; }

Policy

Route policy for lifecycle control, or null if none assigned.

public IRoutePolicy? Policy { get; }

PolicyDescriptor

Effective cluster-policy resolution captured at compile time. Never null;

public RoutePolicyDescriptor PolicyDescriptor { get; }

RouteId

Route identifier.

public string RouteId { get; }

Status

Current route status. Defaults to Stopped until started by the context.

public RouteStatus Status { get; }

Constructors