Uses of Class
org.eclipse.microprofile.reactive.messaging.Metadata
-
Packages that use Metadata Package Description org.eclipse.microprofile.reactive.messaging 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 Metadata Modifier and Type Method Description MetadataMetadata. copy()Copies the currentMetadatainstance.static MetadataMetadata. empty()Returns an empty set of metadata.static MetadataMetadata. from(Iterable<Object> metadata)Returns an instance ofMetadatacontaining multiple values.default MetadataMessage. getMetadata()static MetadataMetadata. of(Object... metadata)Returns an instance ofMetadatacontaining multiple values.MetadataMetadata. with(Object item)Creates a new instance ofMetadatawith the current entries, plusitem.MetadataMetadata. without(Class<?> clazz)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 Metadata Modifier and Type Method Description default CompletionStage<Void>Message. nack(Throwable reason, Metadata metadata)Acknowledge negatively this message.static <T> Message<T>Message. of(T payload, Metadata metadata)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.default Message<T>Message. withMetadata(Metadata metadata)Creates a new instance ofMessagewith the specified metadata.
-