NServiceBus by Particular Software

<PackageReference Include="NServiceBus" Version="8.0.0" />

.NET API 1,076,224 bytes

 MutateIncomingMessageContext

Provides ways to mutate the outgoing message instance.

A CancellationToken to observe.

public Dictionary<string, string> Headers { get; }

The current incoming headers.

public object Message { get; set; }

The current incoming message.

public MutateIncomingMessageContext(object message, Dictionary<string, string> headers, CancellationToken cancellationToken = default)

Initializes the context.