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

  • Class
    Description
    Base unchecked exception for all BabelQueue failures.
    The additive block appended to an Envelope when a message is dead-lettered.
    Builds the additive dead_letter block for an Envelope.
    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 alongside PolyglotMessage to continue an existing distributed trace instead of minting a fresh one.
    The immutable per-message metadata block of a Envelope.
    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.