Class As4Component

Namespace: redb.Route.As4
Assembly: redb.Route.As4.dll

AS4 (OASIS ebMS 3.0, AS4 profile; eDelivery AS4 1.16 common profile) transport component for redb.Route.
Schemes: as4 (HTTP) and as4s (HTTPS).

Receive: as4:/as4/in?host=0.0.0.0&port=4090&connectionFactory=node.
Send: as4s://ap.partner.example/as4?connectionFactory=node&partner=acme.

Consumer or producer is chosen by the DSL side (.From / .To). The node and its trading
partners are resolved from the registry when the endpoint starts — see .

public sealed class As4Component : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→As4Component

Implements

Inherited Members

Properties

AlternateSchemes

HTTPS variant of the AS4 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, set by the DI registrar; owned by the container.

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()