Interface IChunkEnricher
Enriches the produced chunks adding some additional broker-specific headers.
Namespace: Silverback.Messaging.Sequences.Chunking
Assembly: Silverback.Integration.dll
Syntax
public interface IChunkEnricher
Methods
GetFirstChunkMessageHeader(IOutboundEnvelope)
Gets an optional header to be appended to each chunk, pointing to the first message in the sequence.
Declaration
MessageHeader? GetFirstChunkMessageHeader(IOutboundEnvelope envelope)
Parameters
| Type | Name | Description |
|---|---|---|
| IOutboundEnvelope | envelope | The envelope containing the first chunk. |
Returns
| Type | Description |
|---|---|
| MessageHeader | An optional header to be appended to all subsequent chunks. |