Interface Redrive.HeaderPublisher

Enclosing class:
Redrive

public static interface Redrive.HeaderPublisher
An optional Redrive.Transport capability: publish a body together with out-of-band transport headers (e.g. the replay-bypass marker), for brokers that carry per-message metadata. A transport that does not implement it simply does not propagate headers — Redrive.redrive(com.babelqueue.Redrive.Transport, java.lang.String, com.babelqueue.Redrive.Options) falls back to plain Redrive.Transport.publish(java.lang.String, java.lang.String) (ADR-0027).