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 currentMetadatainstance.static MetadataMetadata.empty()Returns an empty set of metadata.static MetadataReturns an instance ofMetadatacontaining multiple values.default MetadataMessage.getMetadata()static MetadataReturns an instance ofMetadatacontaining multiple values.Creates a new instance ofMetadatawith the current entries, plusitem.Creates a new instance ofMetadatawith 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 ofMessagewith the specified metadata.