Class AmqpHeaderFilterStrategy

Namespace: redb.Route.Amqp
Assembly: redb.Route.Amqp.dll

The default of the AMQP 1.0 component, Apache Camel's
AmqpHeaderFilterStrategy counterpart. 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
redbAmqp.* and null values as application-properties; a consumed message and a request-reply's reply bring
every application-property in. Whatever the strategy, a producer sends the standard AMQP property names
(MessageId, CorrelationId, Subject...) as those properties, not as application-properties,
the consumer sets the standard properties and the redbAmqp.* delivery metadata by name, and trace context
is written by the telemetry layer.

public class AmqpHeaderFilterStrategy : IHeaderFilterStrategy

Inheritance

Object→AmqpHeaderFilterStrategy

Implements

Properties

Default

The default strategy of an AMQP endpoint.

public static AmqpHeaderFilterStrategy 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)