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
activityActivityThe Activity to be enriched.
envelopeIRawInboundEnvelopeThe 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
activityActivityThe Activity to be enriched.
envelopeIOutboundEnvelopeThe envelope of the produced message.