Class As2HeaderFilterStrategy
The default of the AS2 component. An endpoint's
headerFilterStrategy=#name replaces it; derive from it to add to it.
A producer sends every exchange header but the component's own redbAs2.* and null values as an HTTP header
of the message; a consumer brings every request header in.
Whatever the strategy: the producer never bridges the MIME, AS2 and hop-by-hop fields it sets itself, the
credentials of another hop (Authorization, Cookie, Set-Cookie) or Host; the consumer
never takes the pseudo-headers, the S/MIME wrapper and hop-by-hop fields or the credentials that authenticated the
hop; the consumer's redbAs2.* metadata is set by the consumer.
public class As2HeaderFilterStrategy : IHeaderFilterStrategy
Inheritance
Implements
Properties
Default
The default strategy of an AS2 endpoint.
public static As2HeaderFilterStrategy 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)