Class As2Component

Namespace: redb.Route.As2
Assembly: redb.Route.As2.dll

AS2 (RFC 4130) transport component for redb.Route. Schemes: as2 (HTTP) and as2s (HTTPS).

Consumer URI (receive server): as2:/inbound/orders?host=0.0.0.0&port=4080&connectionFactory=partner.
Producer URI (send to partner): as2s://partner.example.com:443/as2?connectionFactory=partner.

Consumer vs producer is chosen by the DSL (.From(...) → consumer, .To(...) → producer),
not here — see . Partner certificates/IDs/algorithms are resolved from a named
in the registry.

public sealed class As2Component : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→As2Component

Implements

Inherited Members

Properties

AlternateSchemes

HTTPS variant of the AS2 scheme.

public override IReadOnlyList<string> AlternateSchemes { get; }

Scheme

The URI scheme this component handles (e.g., "kafka", "rabbitmq").

public override string Scheme { get; }

ServerManager

The shared Kestrel receive server, injected from DI so that HTTP-based connectors (redb.Route.Http,

public SharedHttpServerManager? ServerManager { get; set; }

Methods

CreateEndpoint(EndpointUri)

Creates an endpoint from a parsed URI.

public override IEndpoint CreateEndpoint(EndpointUri uri)

DisposeAsync()

Releases component-owned long-lived resources. Default implementation is a no-op.

public override ValueTask DisposeAsync()