Interface IMessageContextAccessor
Provides access to the current message headers for both reading and writing. This allows pipeline behaviors to inspect and enrich message metadata without coupling to a specific transport.
Namespace: Chapar.Core.Abstractions
Assembly: Chapar.Core.dll
Syntax
public interface 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
IDictionary<string, object?>? Headers { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |