Class SnsHeaderFilterStrategy
The default of the SNS component. An endpoint's
headerFilterStrategy=#name replaces it; derive from it to add to it.
A producer publishes every exchange header but the component's own redbSns.* / redbSqs.* and null
values as a message attribute of the same name. Whatever the strategy, a redbSqs.attr.<name> header
is an explicit request and goes out as attribute <name>, the other redbSns.* /
redbSqs.* headers never go out, and trace context is written by the telemetry layer.
public class SnsHeaderFilterStrategy : IHeaderFilterStrategy
Inheritance
Implements
Properties
Default
The default strategy of an SNS endpoint.
public static SnsHeaderFilterStrategy Default { get; }
Methods
FilterIncoming(string, object?, IExchange)
Whether the header name of an incoming message (a consumed message, a producer's reply) is
public virtual bool FilterIncoming(string name, object? value, IExchange exchange)
FilterOutgoing(string, object?, IExchange)
Whether the exchange header name is dropped instead of going into an outgoing message
public virtual bool FilterOutgoing(string name, object? value, IExchange exchange)