public class MessageSupplements extends Object
MessageSubscriptionCreator.MessageHandlers.| Modifier and Type | Class and Description |
|---|---|
static class |
MessageSupplements.Builder
Builder for
MessageSupplements. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acknowledgeMessage()
Acknowledges the message on AMQP (ACK confirmation); visible to sender.
|
static MessageSupplements.Builder |
builder()
Instantiates a new
MessageSupplements.Builder to construct MessageSupplements. |
com.rabbitmq.client.Envelope |
getAmqpEnvelope()
Returns the
Envelope of the original AMQP message. |
com.rabbitmq.client.AMQP.BasicProperties |
getAmqpProperties()
Returns the
AMQP.BasicProperties of the original AMQP message. |
Optional<byte[]> |
getPayload()
Returns the payload that was sent together with the message, if present.
|
Set<Long> |
getVerifiedKeyIds()
Returns the IDs of all keys related to the signature used for the
Message as known to the MessageSubscriptionCreator's Cryptor
instance at time of reception. |
public com.rabbitmq.client.Envelope getAmqpEnvelope()
Envelope of the original AMQP message.public com.rabbitmq.client.AMQP.BasicProperties getAmqpProperties()
AMQP.BasicProperties of the original AMQP message.public Set<Long> getVerifiedKeyIds()
Message as known to the MessageSubscriptionCreator's Cryptor
instance at time of reception.
An empty set indicates that the message either was not signed or the signature could not be verified. If IDs are present, the signature was verified for related keys.
public Optional<byte[]> getPayload()
public boolean acknowledgeMessage()
true if successful; false if the acknowledgement could not be sentpublic static MessageSupplements.Builder builder()
MessageSupplements.Builder to construct MessageSupplements.MessageSupplements.Builder to construct MessageSupplementsCopyright © 2025. All rights reserved.