Package com.babelqueue
package com.babelqueue
BabelQueue — Polyglot Queues, Simplified.
The framework-agnostic Java core: the canonical wire-envelope codec
(EnvelopeCodec), contracts
(PolyglotMessage, HasTraceId) and
dead-letter helpers (DeadLetters). It lets a Java service
exchange queue messages with the PHP/Laravel, Python, Go and Node SDKs over one
strict JSON format — with zero dependencies (pure JDK, including
its own minimal JSON codec).
Full spec: babelqueue.com
-
ClassDescriptionBase unchecked exception for all BabelQueue failures.The additive block appended to an
Envelopewhen a message is dead-lettered.Builds the additivedead_letterblock for anEnvelope.The canonical BabelQueue wire message: a strict, language-neutral JSON shape ({job, trace_id, data, meta, attempts}) that every SDK produces and consumes identically — no language-specific serialization on the wire.Builds, encodes and decodes the canonical BabelQueue envelope — the single Java implementation of the wire format.Optionally implemented alongsidePolyglotMessageto continue an existing distributed trace instead of minting a fresh one.The immutable per-message metadata block of aEnvelope.A message that can be produced as a polyglot envelope.Raised when no handler is mapped for a message URN.What a consumer does with a message whose URN has no registered handler.