Class SilverbackBuilderWithCustomHeaderNameExtensions
Adds the WithCustomHeaderName
method to the ISilverbackBuilder.
Inherited Members
Namespace: Silverback.Messaging.Configuration
Assembly: Silverback.Integration.dll
Syntax
public static class SilverbackBuilderWithCustomHeaderNameExtensions
Methods
| Improve this doc View sourceWithCustomHeaderName(ISilverbackBuilder, string, string)
Adds a new header mapping.
Declaration
public static ISilverbackBuilder WithCustomHeaderName(this ISilverbackBuilder silverbackBuilder, string defaultHeaderName, string customHeaderName)
Parameters
Type | Name | Description |
---|---|---|
ISilverbackBuilder | silverbackBuilder | The ISilverbackBuilder. |
string | defaultHeaderName | The default header name. |
string | customHeaderName | The custom header name to be used instead of the default. |
Returns
Type | Description |
---|---|
ISilverbackBuilder | The ISilverbackBuilder so that additional calls can be chained. |