Uses of Class
org.eclipse.microprofile.reactive.messaging.Metadata
Packages that use Metadata
Package
Description
IMPORTANT
This package is a copy from the original package from the specification.
-
Uses of Metadata in org.eclipse.microprofile.reactive.messaging
Methods in org.eclipse.microprofile.reactive.messaging that return MetadataModifier and TypeMethodDescriptionMetadata.copy()
Copies the currentMetadata
instance.static Metadata
Metadata.empty()
Returns an empty set of metadata.static Metadata
Returns an instance ofMetadata
containing multiple values.default Metadata
Message.getMetadata()
static Metadata
Returns an instance ofMetadata
containing multiple values.Creates a new instance ofMetadata
with the current entries, plusitem
.Creates a new instance ofMetadata
with the current entries, minus the entry associated with the given class.Methods in org.eclipse.microprofile.reactive.messaging with parameters of type MetadataModifier and TypeMethodDescriptiondefault CompletionStage<Void>
Acknowledge negatively this message.static <T> Message<T>
Create a message with the given payload and metadata.static <T> Message<T>
Message.of
(T payload, Metadata metadata, Supplier<CompletionStage<Void>> ack) Create a message with the given payload, metadata and ack function.static <T> Message<T>
Message.of
(T payload, Metadata metadata, Supplier<CompletionStage<Void>> ack, Function<Throwable, CompletionStage<Void>> nack) Create a message with the given payload, metadata and ack and nack functions.Message.withMetadata
(Metadata metadata) Creates a new instance ofMessage
with the specified metadata.