Package | Description |
---|---|
io.smallrye.reactive.messaging | |
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
|
Modifier and Type | Method and Description |
---|---|
List<org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>>> |
ChannelRegistry.getPublishers(String name) |
List<org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void>> |
ChannelRegistry.getSubscribers(String name) |
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> |
ChannelRegistry.register(String name,
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> stream) |
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> |
ChannelRegistry.register(String name,
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> subscriber) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> |
ChannelRegistry.register(String name,
org.eclipse.microprofile.reactive.streams.operators.PublisherBuilder<? extends Message<?>> stream) |
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> |
ChannelRegistry.register(String name,
org.eclipse.microprofile.reactive.streams.operators.SubscriberBuilder<? extends Message<?>,Void> subscriber) |
Modifier and Type | Method and Description |
---|---|
<M extends Message<? extends T>> |
Emitter.send(M msg)
Sends a payload to the channel.
|
Modifier and Type | Method and Description |
---|---|
default Message<T> |
Message.addMetadata(Object metadata)
Creates a new instance of
Message with 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,
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,
Supplier<CompletionStage<Void>> ack)
Create a message with the given payload and ack function.
|
default Message<T> |
Message.withAck(Supplier<CompletionStage<Void>> supplier)
Creates a new instance of
Message with the given acknowledgement supplier. |
default Message<T> |
Message.withMetadata(Iterable<Object> metadata)
Creates a new instance of
Message with the specified metadata. |
default Message<T> |
Message.withMetadata(Metadata metadata)
Creates a new instance of
Message with the specified metadata. |
default <P> Message<P> |
Message.withPayload(P payload)
Creates a new instance of
Message with the specified payload. |
Modifier and Type | Method and 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.
|
Copyright © 2018–2020 SmallRye. All rights reserved.