Uses of Interface
org.eclipse.microprofile.reactive.messaging.Message
-
Packages that use Message Package Description io.smallrye.reactive.messaging io.smallrye.reactive.messaging.connector org.eclipse.microprofile.reactive.messaging IMPORTANT This package is a copy from the original package from the specification.org.eclipse.microprofile.reactive.messaging.spi 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 Message Modifier and Type Method Description <M extends Message<? extends T>>
voidMutinyEmitter. send(M msg)Deprecated.<M extends Message<? extends T>>
io.smallrye.mutiny.Uni<Void>MutinyEmitter. sendMessage(M msg)Sends a message to the channel.<M extends Message<? extends T>>
voidMutinyEmitter. sendMessageAndAwait(M msg)Sends a message to the channel.<M extends Message<? extends T>>
io.smallrye.mutiny.subscription.CancellableMutinyEmitter. sendMessageAndForget(M msg)Sends a message to the channel without waiting for acknowledgement.Methods in io.smallrye.reactive.messaging that return Message Modifier and Type Method Description Message<?>MessageConverter. convert(Message<?> in, Type target)Converts the given messageininto aMessage<T>.Message<?>MessageConverter.IdentityConverter. convert(Message<?> in, Type target)default Message<?>OutgoingInterceptor. onMessage(Message<?> message)Called before message transmissionMethods in io.smallrye.reactive.messaging that return types with arguments of type Message Modifier and Type Method Description io.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 Multiorg.reactivestreams.Publisher<Message<? extends T>>MessagePublisherProvider. getPublisher()List<org.reactivestreams.Publisher<? extends Message<?>>>ChannelRegistry. getPublishers(String name)List<org.reactivestreams.Subscriber<? extends Message<?>>>ChannelRegistry. getSubscribers(String name)org.reactivestreams.Publisher<? extends Message<?>>ChannelRegistry. register(String name, org.reactivestreams.Publisher<? extends Message<?>> stream, boolean broadcast)org.reactivestreams.Subscriber<? extends Message<?>>ChannelRegistry. register(String name, org.reactivestreams.Subscriber<? extends Message<?>> subscriber, boolean merge)Methods in io.smallrye.reactive.messaging with parameters of type Message Modifier and Type Method Description booleanMessageConverter. 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<?>MessageConverter. convert(Message<?> in, Type target)Converts the given messageininto aMessage<T>.Message<?>MessageConverter.IdentityConverter. convert(Message<?> in, Type target)static Optional<TracingMetadata>TracingMetadata. fromMessage(Message<?> message)default Message<?>OutgoingInterceptor. onMessage(Message<?> 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 Message Modifier and Type Method Description io.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 Multiorg.reactivestreams.Publisher<? extends Message<?>>ChannelRegistry. register(String name, org.reactivestreams.Publisher<? extends Message<?>> stream, boolean broadcast)org.reactivestreams.Subscriber<? extends Message<?>>ChannelRegistry. register(String name, org.reactivestreams.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 Message Modifier and Type Method Description org.reactivestreams.Publisher<? extends Message<?>>InboundConnector. getPublisher(org.eclipse.microprofile.config.Config config)Creates a channel for the given configuration.org.reactivestreams.Subscriber<? extends Message<?>>OutboundConnector. getSubscriber(org.eclipse.microprofile.config.Config config)Creates a channel for the given configuration. -
Uses of Message in org.eclipse.microprofile.reactive.messaging
Methods in org.eclipse.microprofile.reactive.messaging with type parameters of type Message Modifier and Type Method Description <M extends Message<? extends T>>
voidEmitter. send(M msg)Sends a message to the channel.Methods in org.eclipse.microprofile.reactive.messaging that return Message Modifier and Type Method Description default Message<T>Message. 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>Message. of(T payload, Iterable<Object> metadata)Create a message with the given payload and metadata.static <T> Message<T>Message. of(T payload, Iterable<Object> metadata, Supplier<CompletionStage<Void>> ack)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>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. withAck(Supplier<CompletionStage<Void>> supplier)Creates a new instance ofMessagewith the given acknowledgement supplier.default Message<T>Message. withMetadata(Iterable<Object> metadata)Creates a new instance ofMessagewith the specified metadata.default Message<T>Message. withMetadata(Metadata metadata)Creates a new instance ofMessagewith the specified metadata.default Message<T>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 Message Modifier and Type Method Description org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>IncomingConnectorFactory. getPublisherBuilder(org.eclipse.microprofile.config.Config config)Creates a channel for the given configuration.org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void>OutgoingConnectorFactory. getSubscriberBuilder(org.eclipse.microprofile.config.Config config)Creates a channel for the given configuration.
-