Table of Contents

Interface IActivityEnricherFactory

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

Provides the IBrokerActivityEnricher according to the specified endpoint.

public interface IActivityEnricherFactory

Methods

GetEnricher(EndpointConfiguration, IServiceProvider)

Returns the IBrokerActivityEnricher for the specified endpoint.

IBrokerActivityEnricher GetEnricher(EndpointConfiguration configuration, IServiceProvider serviceProvider)

Parameters

configuration EndpointConfiguration

The endpoint.

serviceProvider IServiceProvider

The IServiceProvider that can be used to resolve additional services.

Returns

IBrokerActivityEnricher

The IBrokerActivityEnricher that matches the specified endpoint type.