Uses of Interface
org.eclipse.microprofile.reactive.messaging.Message
Packages that use Message
Package
Description
IMPORTANT
This package is a copy from the original package from the specification.
The MicroProfile Reactive Messaging API Connector SPI
-
Uses of Message in io.smallrye.reactive.messaging
Methods in io.smallrye.reactive.messaging with type parameters of type MessageModifier and TypeMethodDescriptionMutinyEmitter.send(M msg) Deprecated.MutinyEmitter.sendMessage(M msg) Sends a message to the channel.MutinyEmitter.sendMessageAndAwait(M msg) Sends a message to the channel.MutinyEmitter.sendMessageAndForget(M msg) Sends a message to the channel without waiting for acknowledgement.Methods in io.smallrye.reactive.messaging that return MessageModifier and TypeMethodDescriptionMessage<?>Converts the given messageininto aMessage<T>.Message<?>default Message<?>Called before message transmissionMethods in io.smallrye.reactive.messaging that return types with arguments of type MessageModifier and TypeMethodDescriptionio.smallrye.mutiny.Multi<? extends Message<?>>PublisherDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName, boolean isConnector) Decorate a Multiio.smallrye.mutiny.Multi<? extends Message<?>>SubscriberDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> toBeSubscribed, List<String> channelName, boolean isConnector) Decorate a MultiFlow.Publisher<Message<? extends T>>MessagePublisherProvider.getPublisher()List<Flow.Publisher<? extends Message<?>>>ChannelRegistry.getPublishers(String name) List<Flow.Subscriber<? extends Message<?>>>ChannelRegistry.getSubscribers(String name) Flow.Publisher<? extends Message<?>>ChannelRegistry.register(String name, Flow.Publisher<? extends Message<?>> stream, boolean broadcast) Flow.Subscriber<? extends Message<?>>ChannelRegistry.register(String name, Flow.Subscriber<? extends Message<?>> subscriber, boolean merge) Methods in io.smallrye.reactive.messaging with parameters of type MessageModifier and TypeMethodDescriptionbooleanMessageConverter.canConvert(Message<?> in, Type target) Checks whether this instance of converter can convert the given messageininto aMessage<T>withTbeing the type represented bytarget.booleanMessageConverter.IdentityConverter.canConvert(Message<?> in, Type target) Message<?>Converts the given messageininto aMessage<T>.Message<?>static Optional<TracingMetadata>TracingMetadata.fromMessage(Message<?> message) default Message<?>Called before message transmissionvoidOutgoingInterceptor.onMessageAck(Message<?> message) Called after message acknowledgmentvoidOutgoingInterceptor.onMessageNack(Message<?> message, Throwable failure) Called after message negative-acknowledgementstatic voidOutgoingMessageMetadata.setResultOnMessage(Message<?> message, Object result) Method parameters in io.smallrye.reactive.messaging with type arguments of type MessageModifier and TypeMethodDescriptionio.smallrye.mutiny.Multi<? extends Message<?>>PublisherDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName, boolean isConnector) Decorate a Multiio.smallrye.mutiny.Multi<? extends Message<?>>SubscriberDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> toBeSubscribed, List<String> channelName, boolean isConnector) Decorate a MultiFlow.Publisher<? extends Message<?>>ChannelRegistry.register(String name, Flow.Publisher<? extends Message<?>> stream, boolean broadcast) Flow.Subscriber<? extends Message<?>>ChannelRegistry.register(String name, Flow.Subscriber<? extends Message<?>> subscriber, boolean merge) -
Uses of Message in io.smallrye.reactive.messaging.connector
Methods in io.smallrye.reactive.messaging.connector that return types with arguments of type MessageModifier and TypeMethodDescriptionFlow.Publisher<? extends Message<?>>InboundConnector.getPublisher(org.eclipse.microprofile.config.Config config) Creates a channel for the given configuration.Flow.Subscriber<? extends Message<?>>OutboundConnector.getSubscriber(org.eclipse.microprofile.config.Config config) Creates a channel for the given configuration. -
Uses of Message in io.smallrye.reactive.messaging.keyed
Methods in io.smallrye.reactive.messaging.keyed with parameters of type MessageModifier and TypeMethodDescriptionbooleanKeyValueExtractor.canExtract(Message<?> first, Type keyType, Type valueType) Checks if the current extractor can handle the given method to extract a key of typekeyTypeand a value of typevalueType.KeyValueExtractor.extractKey(Message<?> message, Type keyType) Extracts the key from the given message.KeyValueExtractor.extractValue(Message<?> message, Type valueType) Extracts the value from the given message. -
Uses of Message in org.eclipse.microprofile.reactive.messaging
Methods in org.eclipse.microprofile.reactive.messaging with type parameters of type MessageMethods in org.eclipse.microprofile.reactive.messaging that return MessageModifier and TypeMethodDescriptionMessage.addMetadata(Object metadata) Creates a new instance ofMessagewith the current metadata, plus the given one.static <T> Message<T>Message.of(T payload) Create a message with the given payload.static <T> Message<T>Create a message with the given payload and metadata.static <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, Supplier<CompletionStage<Void>> ack, Function<Throwable, CompletionStage<Void>> nack) Create a message with the given payload, metadata and ack and nack functions.static <T> Message<T>Message.of(T payload, Supplier<CompletionStage<Void>> ack) Create a message with the given payload and ack function.static <T> Message<T>Message.of(T payload, Supplier<CompletionStage<Void>> ack, Function<Throwable, CompletionStage<Void>> nack) Create a message with the given payload, ack and nack functions.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.withAck(Supplier<CompletionStage<Void>> supplier) Creates a new instance ofMessagewith the given acknowledgement supplier.Message.withMetadata(Iterable<Object> metadata) Creates a new instance ofMessagewith the specified metadata.Message.withMetadata(Metadata metadata) Creates a new instance ofMessagewith the specified metadata.Message.withNack(Function<Throwable, CompletionStage<Void>> nack) Creates a new instance ofMessagewith the given negative-acknowledgement function.default <P> Message<P>Message.withPayload(P payload) Creates a new instance ofMessagewith the specified payload. -
Uses of Message in org.eclipse.microprofile.reactive.messaging.spi
Methods in org.eclipse.microprofile.reactive.messaging.spi that return types with arguments of type MessageModifier and TypeMethodDescriptionorg.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>IncomingConnectorFactory.getPublisherBuilder(org.eclipse.microprofile.config.Config config) Creates a channel for the given configuration.OutgoingConnectorFactory.getSubscriberBuilder(org.eclipse.microprofile.config.Config config) Creates a channel for the given configuration.
MutinyEmitter.sendMessageAndForget(Message)}