Class MessagePropertiesEnricher
Default implementation that enriches MessageProperties with metadata from the ChannelRegistry.
public class MessagePropertiesEnricher : IMessagePropertiesEnricher
- Inheritance
-
MessagePropertiesEnricher
- Implements
- Inherited Members
Constructors
- MessagePropertiesEnricher(ChannelRegistry, CloudEventsOptions, TimeProvider, IEnumerable<ITransportMessageMetadataEnricher>)
Default implementation that enriches MessageProperties with metadata from the ChannelRegistry.
Methods
- Enrich(Type, MessageProperties?)
Enriches the properties for a message of the given type. If properties is null, creates a new instance. Only populates missing values, never overwrites existing ones.
- Enrich<TMessage>(MessageProperties?)
Enriches the properties for a message of type TMessage. If properties is null, creates a new instance. Only populates missing values, never overwrites existing ones.