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
Fields in org.eclipse.microprofile.reactive.messaging with type parameters of type MetadataModifier and TypeFieldDescriptionstatic final Function<Metadata,CompletionStage<Void>> Message.EMPTY_ACKstatic final BiFunction<Throwable,Metadata, CompletionStage<Void>> Message.EMPTY_NACKMethods 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 that return types with arguments of type MetadataModifier and TypeMethodDescriptiondefault Function<Metadata,CompletionStage<Void>> Message.getAckWithMetadata()default BiFunction<Throwable,Metadata, CompletionStage<Void>> Message.getNackWithMetadata()Methods in org.eclipse.microprofile.reactive.messaging with parameters of type MetadataModifier and TypeMethodDescriptiondefault CompletionStage<Void>Acknowledge this message.default 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, Function<Metadata, CompletionStage<Void>> ackM, BiFunction<Throwable, Metadata, CompletionStage<Void>> nackM) Create a message with the given payload, metadata and ack and nack functions.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.Method parameters in org.eclipse.microprofile.reactive.messaging with type arguments of type MetadataModifier and TypeMethodDescriptionstatic <T> Message<T>Create a message with the given payload, metadata and ack function.static <T> Message<T>Message.of(T payload, Iterable<Object> metadata, Function<Metadata, CompletionStage<Void>> ackM, BiFunction<Throwable, Metadata, CompletionStage<Void>> nackM) Create a message with the given payload, metadata and ack and nack functions.static <T> Message<T>Message.of(T payload, Iterable<Object> metadata, Function<Metadata, CompletionStage<Void>> ackM, BiFunction<Throwable, Metadata, CompletionStage<Void>> nackM) Create a message with the given payload, metadata and ack and nack functions.static <T> Message<T>Message.of(T payload, Function<Metadata, CompletionStage<Void>> ackM) Create a message with the given payload and ack function.static <T> Message<T>Message.of(T payload, Function<Metadata, CompletionStage<Void>> ack, BiFunction<Throwable, Metadata, CompletionStage<Void>> nack) static <T> Message<T>Message.of(T payload, Function<Metadata, CompletionStage<Void>> ack, BiFunction<Throwable, Metadata, CompletionStage<Void>> nack) static <T> Message<T>Message.of(T payload, Metadata metadata, Function<Metadata, CompletionStage<Void>> ackM, BiFunction<Throwable, Metadata, CompletionStage<Void>> nackM) Create a message with the given payload, metadata and ack and nack functions.static <T> Message<T>Message.of(T payload, Metadata metadata, Function<Metadata, CompletionStage<Void>> ackM, BiFunction<Throwable, Metadata, CompletionStage<Void>> nackM) Create a message with the given payload, metadata and ack and nack functions.Message.withAckWithMetadata(Function<Metadata, CompletionStage<Void>> supplier) Creates a new instance ofMessagewith the given acknowledgement supplier.Message.withNackWithMetadata(BiFunction<Throwable, Metadata, CompletionStage<Void>> nack) Creates a new instance ofMessagewith the given negative-acknowledgement function.