Package org.acemq.amqp.api
@NullMarked
package org.acemq.amqp.api
The public AceMQ AMQP API.
This package carries no third-party dependencies by design. It is the module from which every other language port is transliterated, so anything added here becomes a cross-language commitment.
-
ClassDescriptionSignals a failure that retrying cannot fix, such as a message that will never be valid for this handler.The message header names that make up the AceMQ cross-language contract.Base type for every exception this library raises.Signals a failure worth retrying: the message is sound but the attempt did not succeed, typically because a dependency was briefly unavailable.What should happen to a delivery once a handler has looked at it.Handles one message and states the outcome explicitly.How much a topology apply is allowed to do.A feature a broker either supports or does not.Where a payload too large for a broker actually goes.Turns payloads into bytes and back.Announces a codec to the engine, so that a format can be chosen by name.A message about to be handled, as an interceptor sees it.Runs around every handler on a connection.The AceMQ metadata that travels with every message, independent of payload and broker.Builds
Envelopeinstances.Remembers which messages have already been handled, so handling one twice does not happen twice.WhatIdempotencyStore.tryClaim(java.lang.String)found.Message<T>A message as a handler sees it: the decoded payload plus everything known about how it arrived.Handles one message.The metric and span names AceMQ emits.One message waiting in the outbox: where it is going, what it says, and how it has fared.Holds messages that must be published if, and only if, the work that produced them was committed.Decides which partition an ordering key belongs to.A message about to be published, as an interceptor sees it.Publisher<T>Sends messages of one type to one destination.Raised when a publish did not result in a message the broker took responsibility for and could route.Publishing was paused on this connection, so the message was not sent.Runs around every publish on a connection.The outcome of one publish, after the broker has confirmed it.When, and how often, a failed message should be tried again, and where the waiting happens.How long before the next attempt, and where the message spends it.Where a message is going, carried by the message.A schema as a registry sees it: some text, and enough about it to know what the text is.Turns a schema into a small integer and back.Step<I,O> One stage of a pipeline: a message in, the next payload out.Where in a stream a consumer starts reading.Where AceMQ reports what it is doing.An operation in progress.A topology as data: what exchanges, queues and bindings should exist.A binding that should exist.Builds aTopology.An exchange that should exist.A queue that should exist.What applying aTopologywould do, worked out before anything is done.One item of a plan.What a plan proposes to do about one item.