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
Subinterfaces of Message in io.smallrye.reactive.messagingModifier and TypeInterfaceDescriptioninterfaceContainer ofMessages to send multiple messages to different channelsClasses in io.smallrye.reactive.messaging that implement MessageMethods 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 TypeMethodDescriptiondefault Message<?>IncomingInterceptor.afterMessageReceive(Message<?> message) Called after message receiveddefault Message<?>OutgoingInterceptor.beforeMessageSend(Message<?> message) Called before message transmissionMessage<?>Converts the given messageininto aMessage<T>.Message<?>Message<?>Message<?>Return the message associated with the given channelstatic <T> Message<T>Merges multiple messages into a single one.Merges multiple messages into a single one.default Message<?>Deprecated.Methods in io.smallrye.reactive.messaging that return types with arguments of type MessageModifier and TypeMethodDescriptiondefault io.smallrye.mutiny.Multi<? extends Message<?>>PublisherDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName, boolean isConnector) Deprecated.replaced withPublisherDecorator.decorate(Multi, List, boolean)default io.smallrye.mutiny.Multi<? extends Message<?>>PublisherDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, List<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 MultiTargetedMessages.Default.getPayload()Flow.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) Chain the passed array of messages.Methods in io.smallrye.reactive.messaging with parameters of type MessageModifier and TypeMethodDescriptiondefault Message<?>IncomingInterceptor.afterMessageReceive(Message<?> message) Called after message receiveddefault Message<?>OutgoingInterceptor.beforeMessageSend(Message<?> message) Called before message transmissionbooleanMessageConverter.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) static Messages.MessageChainBuilderChains the given message with some other messages.Message<?>Converts the given messageininto aMessage<T>.Message<?>static Optional<TracingMetadata>TracingMetadata.fromMessage(Message<?> message) static TargetedMessagesstatic TargetedMessagesstatic TargetedMessagesstatic TargetedMessagesTargetedMessages.of(String c1, Message<?> m1, String c2, Message<?> m2, String c3, Message<?> m3, String c4, Message<?> m4) static TargetedMessagesTargetedMessages.of(String c1, Message<?> m1, String c2, Message<?> m2, String c3, Message<?> m3, String c4, Message<?> m4, String c5, Message<?> m5) static TargetedMessagesTargetedMessages.of(String c1, Message<?> m1, String c2, Message<?> m2, String c3, Message<?> m3, String c4, Message<?> m4, String c5, Message<?> m5, String c6, Message<?> m6) default Message<?>Deprecated.voidIncomingInterceptor.onMessageAck(Message<?> message) Called after message acknowledgmentvoidOutgoingInterceptor.onMessageAck(Message<?> message) Called after message acknowledgmentvoidIncomingInterceptor.onMessageNack(Message<?> message, Throwable failure) Called after message negative-acknowledgementvoidOutgoingInterceptor.onMessageNack(Message<?> message, Throwable failure) Called after message negative-acknowledgementstatic voidOutgoingMessageMetadata.setResultOnMessage(Message<?> message, Object result) Chain the passed array of messages.TargetedMessages.Default.withMessage(String channel, Message<?> message) TargetedMessages.withMessage(String channel, Message<?> message) Add a new mapping to this target mapping.Method parameters in io.smallrye.reactive.messaging with type arguments of type MessageModifier and TypeMethodDescriptiondefault io.smallrye.mutiny.Multi<? extends Message<?>>PublisherDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, String channelName, boolean isConnector) Deprecated.replaced withPublisherDecorator.decorate(Multi, List, boolean)default io.smallrye.mutiny.Multi<? extends Message<?>>PublisherDecorator.decorate(io.smallrye.mutiny.Multi<? extends Message<?>> publisher, List<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 Multistatic TargetedMessagesstatic <T> Message<T>Merges multiple messages into a single one.Merges multiple messages into a single one.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) Chain the passed map of messages.Constructor parameters in io.smallrye.reactive.messaging with type arguments of type Message -
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 io.smallrye.reactive.messaging.observation
Methods in io.smallrye.reactive.messaging.observation with parameters of type MessageModifier and TypeMethodDescriptionvoidDefaultMessageObservation.onMessageAck(Message<?> message) voidMessageObservation.onMessageAck(Message<?> message) Notify the observation of acknowledgement eventvoidDefaultMessageObservation.onMessageNack(Message<?> message, Throwable reason) voidMessageObservation.onMessageNack(Message<?> message, Throwable reason) Notify the observation of negative acknowledgement eventMessageObservationCollector.onNewMessage(String channel, Message<?> message, T observationContext) Returns a newMessageObservationobject on which to collect the message processing events. -
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, 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>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, 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, 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, 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.default <R> Message<R>Apply the given modifier function to the current message returning the result for further compositionMessage.withAck(Supplier<CompletionStage<Void>> supplier) Creates a new instance ofMessagewith the given acknowledgement supplier.Message.withAckWithMetadata(Function<Metadata, 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.Message.withNackWithMetadata(BiFunction<Throwable, Metadata, 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.Method parameters in org.eclipse.microprofile.reactive.messaging with type arguments of type Message -
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)}