Table of Contents

Interface IBrokerActivityEnricher

Namespace
Silverback.Messaging.Diagnostics
Assembly
Silverback.Integration.dll

Provides enrichment for the produce and consume activities.

public interface IBrokerActivityEnricher

Methods

EnrichInboundActivity(Activity, IRawInboundEnvelope)

Enriches the consume activity when the message has been received, before it is processed.

void EnrichInboundActivity(Activity activity, IRawInboundEnvelope envelope)

Parameters

activity Activity

The Activity to be enriched.

envelope IRawInboundEnvelope

The envelope of the consumed message, which hasn't been deserialized yet.

EnrichOutboundActivity(Activity, IOutboundEnvelope)

Enriches the produce activity right before the produced message is logged.

void EnrichOutboundActivity(Activity activity, IOutboundEnvelope envelope)

Parameters

activity Activity

The Activity to be enriched.

envelope IOutboundEnvelope

The envelope of the produced message.