Class DirectComponent

Assembly: redb.Route.dll

In-memory synchronous component. Scheme: "direct".
When a producer sends an exchange to a direct endpoint, the consumer's processor
is invoked synchronously (in-process). No threading, no queuing — direct call.
Ideal for testing and for connecting route segments within the same process.

public class DirectComponent : ComponentBase, IComponent, IAsyncDisposable

Inheritance

Object→ComponentBase→DirectComponent

Implements

Inherited Members

Properties

Scheme

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

public override string Scheme { get; }

Methods

CreateEndpoint(EndpointUri)

Creates an endpoint from a parsed URI.

public override IEndpoint CreateEndpoint(EndpointUri uri)