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
configurationEndpointConfigurationThe endpoint.
serviceProviderIServiceProviderThe IServiceProvider that can be used to resolve additional services.
Returns
- IBrokerActivityEnricher
The IBrokerActivityEnricher that matches the specified endpoint type.