Uses of Class
org.acemq.amqp.api.Envelope
Packages that use Envelope
Package
Description
The public AceMQ AMQP API.
The protocol-agnostic engine.
-
Uses of Envelope in org.acemq.amqp.api
Methods in org.acemq.amqp.api that return EnvelopeModifier and TypeMethodDescriptionEnvelope.Builder.build()ConsumeContext.envelope()Message.envelope()OutboxRecord.envelope()Rebuilds the envelope this record should be published with.PublishContext.envelope()Envelope.nextAttempt()Returns a copy of this envelope representing the next delivery attempt.Methods in org.acemq.amqp.api with parameters of type EnvelopeModifier and TypeMethodDescriptionTelemetry.consumeStarted(String queue, Envelope envelope) Called immediately before a handler runs.voidTelemetry.messageDeadLettered(String queue, Envelope envelope, String reason) Records that a message was given up on.default voidTelemetry.messageParked(String queue, Envelope envelope, String reason) Records that a message was put in the parking lot because nothing could read it.voidTelemetry.messageRetried(String queue, Envelope envelope, Duration delay) Records that a message was sent for another attempt.static OutboxRecordA new record for a message that has not been attempted yet.Telemetry.publishStarted(String exchange, String routingKey, Envelope envelope) Called immediately before a message is published.default Telemetry.ScopeTelemetry.requestStarted(String destination, Envelope envelope) Called once per request/reply round trip, around the wait for the answer.Publishes a message built on an explicit envelope.Publishes without waiting, with an envelope of your own.PublishContext.withEnvelope(Envelope replacement) Constructors in org.acemq.amqp.api with parameters of type EnvelopeModifierConstructorDescriptionPublishContext(String exchange, String routingKey, Envelope envelope, Object payload) -
Uses of Envelope in org.acemq.amqp.core
Methods in org.acemq.amqp.core with parameters of type EnvelopeModifier and TypeMethodDescriptionintSends a payload to the first stop of an itinerary the message carries with it.