Class TsakDlqComponent
The checkpoint DLQ as an endpoint. Scheme: tsak-dlq; URI: tsak-dlq: (no path, no options).
The context's sees only the failures no OnException took — Apache
Camel's model: an OnException that takes a failure owns it, and a logging one without Handled()
still keeps it from the DLQ. Sending to this endpoint from the handler's body dead-letters the failure
explicitly, as onException(...).to(deadLetterUri) does in Camel:
OnException<HttpRequestException>().Log("upstream down").To("tsak-dlq:");
The capture is the one the handler makes: the route must have left a replay checkpoint (.Replayable("…")
before the failing step); without one nothing is captured and a warning names the route.
Registered by Tsak on every context it creates while a DLQ service is configured.
public sealed class TsakDlqComponent : ComponentBase, IComponent, IAsyncDisposable
Inheritance
Implements
Inherited Members
Properties
ContextName
The Tsak context name the captured entries are filed under.
public string ContextName { get; }
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)