Table of Contents

Interface IMessagePropertiesEnricher

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

Service that enriches MessageProperties with metadata from the MessageTypeRegistry.

public interface IMessagePropertiesEnricher

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.