-
interface
Advanced AMQP Message object that provides a thin abstraction to raw AMQP types
interface
A specialized
Message
type that represents a streamed delivery possibly
spanning many incoming
Transfer
frames from the remote peer.
interface
Streaming Message Tracker object used to operate on and track the state of a streamed message
at the remote.
Sets the absolute expiration time value to assign to this
Message
.
Sets the given message annotation value at the given key, replacing any previous value
that was assigned to this
Message
.
Sets the body value that is to be conveyed to the remote when this message is sent.
Sets the contentEncoding value to assign to this
Message
.
Sets the contentType value to assign to this
Message
.
Sets the correlationId value to assign to this
Message
.
Create and return an
Message
that will carry no body
Section
unless one is assigned by the caller.
Create and return an
Message
that will wrap the given byte array in
an
Data
section.
Sets the creation time value to assign to this
Message
.
Sets the value to assign to the delivery count field of this
Message
.
Controls if the message is marked as durable when sent.
Sets the value to assign to the first acquirer field of this
Message
.
Sets the given footer value at the given key, replacing any previous value
that was assigned to this
Message
.
Invokes the given
BiConsumer
on each message annotation entry carried in this
Message
.
Invokes the given
BiConsumer
on each application property entry carried in this
Message
.
Sets the groupId value to assign to this
Message
.
Sets the group sequence value to assign to this
Message
.
Sets the message Id value to assign to this
Message
.
Sets the relative message priority.
Sets the given application property value at the given key, replacing any previous value
that was assigned to this
Message
.
Sets the replyTo value to assign to this
Message
.
Sets the replyTo group Id value to assign to this
Message
.
Sets the subject value to assign to this
Message
.
Sets the message time to live value.
Sets the 'to' value to assign to this
Message
.
Sets the user Id value to assign to this
Message
.
Sends the given
Message
using the internal connection sender.
Send the given message immediately if there is credit available or blocks if the link
has not yet been granted credit.
Send the given message immediately if there is credit available or blocks if the link
has not yet been granted credit.
Send the given message immediately if there is credit available or blocks if the link
has not yet been granted credit or there is a streaming send ongoing.
Send the given message immediately if there is credit available or blocks if the link
has not yet been granted credit or there is a streaming send ongoing.
Send the given message if credit is available or returns null if no credit has been
granted to the link at the time of the send attempt.
Send the given message if credit is available or returns null if no credit has been
granted to the link at the time of the send attempt.
Send the given message if credit is available or returns null if no credit has been
granted to the link at the time of the send attempt or a streaming send is ongoing.
Send the given message if credit is available or returns null if no credit has been
granted to the link at the time of the send attempt.
-
final class
Client provided
AdvancedMessage
implementation that is used when sending messages
from a
ClientSender
or when decoding an AMQP Transfer for which all frames have
arrived.
final class
Streamed message delivery context used to request reads of possible split framed
Transfer
payload's that comprise a single large overall message.
ClientMessage.userId(byte[] userId)
Converts a
Message
instance into a
ClientMessage
instance
either by cast or by construction of a new instance with a copy of the
values carried in the given message.