Class MessageHeaders
A settable implementation of IMessageContextAccessor. The headers are populated by ChaparConsumerAdapter<T> during message consumption and can be read/modified by pipeline behaviors.
Implements
Inherited Members
Namespace: Chapar.MassTransit.Adapters
Assembly: Chapar.MassTransit.dll
Syntax
public sealed class MessageHeaders : IMessageContextAccessor
Properties
| Edit this page View SourceHeaders
Gets or sets the headers of the current message being processed. Returns null if no message is currently being processed.
Declaration
public IDictionary<string, object?>? Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |