Inheritance
System.Object
DefaultRabbitHeaderMapper
Implements
IRequestReplyHeaderMapper<IMessageHeaders>
Inherited Members
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.CreateDefaultHeaderMatcher(System.String, List<>)
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.GetHeaderIfAvailable<V>(IDictionary<, >, System.String, Type)
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.PopulateStandardHeaders(IDictionary<, >, IMessageHeaders)
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.PopulateStandardHeaders(IDictionary<, >, IDictionary<, >, IMessageHeaders)
Assembly: Steeltoe.Integration.RabbitMQ.dll
public class DefaultRabbitHeaderMapper : AbstractHeaderMapper<IMessageHeaders>, IRabbitHeaderMapper
Constructors
|
Edit this page
View Source
Declaration
protected DefaultRabbitHeaderMapper(string[] requestHeaderNames, string[] replyHeaderNames, ILogger logger)
Parameters
Type |
Name |
Description |
System.String[] |
requestHeaderNames |
|
System.String[] |
replyHeaderNames |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
Declaration
public static string[] InboundReplyHeaders { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
Declaration
public static string[] InboundRequestHeaders { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
Declaration
public static string[] OutboundReplyHeaders { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
Declaration
public static string[] OutboundRequestHeaders { get; }
Property Value
Type |
Description |
System.String[] |
|
|
Edit this page
View Source
Declaration
public static string[] SafeOutboundHeaders { get; }
Property Value
Type |
Description |
System.String[] |
|
Methods
|
Edit this page
View Source
ExtractStandardHeaders(IMessageHeaders)
Declaration
protected override IDictionary<string, object> ExtractStandardHeaders(IMessageHeaders source)
Parameters
Type |
Name |
Description |
IMessageHeaders |
source |
|
Returns
Type |
Description |
IDictionary<System.String, System.Object> |
|
Overrides
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.ExtractStandardHeaders(IMessageHeaders)
|
Edit this page
View Source
Declaration
protected override IDictionary<string, object> ExtractUserDefinedHeaders(IMessageHeaders source)
Parameters
Type |
Name |
Description |
IMessageHeaders |
source |
|
Returns
Type |
Description |
IDictionary<System.String, System.Object> |
|
Overrides
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.ExtractUserDefinedHeaders(IMessageHeaders)
|
Edit this page
View Source
Declaration
public static DefaultRabbitHeaderMapper GetInboundMapper(ILogger logger)
Parameters
Type |
Name |
Description |
ILogger |
logger |
|
Returns
|
Edit this page
View Source
Declaration
public static DefaultRabbitHeaderMapper GetOutboundMapper(ILogger logger)
Parameters
Type |
Name |
Description |
ILogger |
logger |
|
Returns
|
Edit this page
View Source
PopulateStandardHeaders(IDictionary<String, Object>, IMessageHeaders)
Declaration
protected override void PopulateStandardHeaders(IDictionary<string, object> headers, IMessageHeaders target)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headers |
|
IMessageHeaders |
target |
|
|
Edit this page
View Source
Declaration
protected override void PopulateUserDefinedHeader(string headerName, object headerValue, IMessageHeaders target)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
System.Object |
headerValue |
|
IMessageHeaders |
target |
|
Overrides
Steeltoe.Integration.Mapping.AbstractHeaderMapper<IMessageHeaders>.PopulateUserDefinedHeader(System.String, System.Object, IMessageHeaders)
Implements
IRequestReplyHeaderMapper<>