#1674·conductor

AMQP: publishes are fire-and-forget (no publisher confirms / mandatory)

Author: nthmost-orkesCreated Sep 25, 2026Updated Sep 25, 2026
Labelsenhancementjava

The publish path (AMQPObservableQueue.java:303) calls basicPublish without publisher confirms. There is no confirmSelect/waitForConfirms, no mandatory flag, and no ReturnListener. A broker-side failure or an unroutable message is lost silently.

This is the publish-side counterpart to the consume-side data loss covered by dead-letter support (#787).

Scope

  • Optional publisher confirms (confirmSelect + waitForConfirms) with a timeout, surfacing failures to the caller.
  • Set mandatory=true and a ReturnListener so unroutable messages are detected rather than dropped.
  • Make it configurable (off by default to preserve current throughput).