Class IbmMqHeaderFilterStrategy
The default of the IBM MQ component. An endpoint's
headerFilterStrategy=#name replaces it; derive from it to add to it.
A producer's request and a consumer's reply carry every exchange header but the component's own
redbIbmMq.* and null values in the message's header catalogue; a consumed message and a request-reply's
reply bring every catalogued header in, on the poll and the XMS receive paths alike. Whatever the strategy, MQMD
fields are read from and written to the redbIbmMq.* headers by name, targetClient=Mq sends no
catalogue at all, and trace context is written by the telemetry layer.
public class IbmMqHeaderFilterStrategy : IHeaderFilterStrategy
Inheritance
Implements
Properties
Default
The default strategy of an IBM MQ endpoint.
public static IbmMqHeaderFilterStrategy 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)