Class SoapProducer

Namespace: redb.Route.Soap
Assembly: redb.Route.Soap.dll

SOAP producer (baseline, in-box): wraps the exchange body in a 1.1/1.2 envelope, POSTs it with
, and puts the response body on (request-reply).
A soap:Fault surfaces on redbSoap.fault* and throws .
Opens a Client telemetry span and records endpoint statistics, like every other connector.

public sealed class SoapProducer : ConnectableProducer, IProducer, IProcessor

Inheritance

Object→ConnectableProducer→SoapProducer

Implements

Inherited Members

Properties

ProducerEndpoint

The endpoint this producer sends to.

protected override IEndpoint ProducerEndpoint { get; }

ProducerName

Display name for logging (e.g. "http:https://api.example.com", "kafka:orders").

protected override string ProducerName { get; }

Methods

ConnectAsync(CancellationToken)

Set up connection/resources. Awaited by Start() to completion before IsStarted flips to

protected override Task ConnectAsync(CancellationToken ct)

DisconnectAsync(CancellationToken)

Tear down connection/resources. Called from Stop() after the started flag is cleared.

protected override Task DisconnectAsync(CancellationToken ct)

Process(IExchange, CancellationToken)

Processes the exchange asynchronously.

public override Task Process(IExchange exchange, CancellationToken ct = default)