Uses of Class
io.helidon.messaging.Channel
-
Uses of Channel in io.helidon.messaging
Modifier and TypeMethodDescriptionChannel.Builder.build()
static <PAYLOAD> Channel<PAYLOAD>
Channel.create()
Create new empty channel with random name.static <PAYLOAD> Channel<PAYLOAD>
Create new empty channel with given name.Channel.Builder.get()
Modifier and TypeMethodDescriptionAdd newChannel
for Emitter to publish to.static <PAYLOAD> Emitter<PAYLOAD>
Create new Emitter to serve as a publisher for supplied channel.static <PAYLOAD> Emitter<PAYLOAD>
Create new Emitter to serve as a broadcast publisher for supplied channels.<PAYLOAD> Messaging.Builder
RegisterConsumer
for listening every payload coming from upstream.<PAYLOAD,
RESULT>
Messaging.BuilderMessaging.Builder.processor
(Channel<PAYLOAD> in, Channel<RESULT> out, Function<? super PAYLOAD, ? extends RESULT> messageFunction) Register a mapping function between two channels.<PAYLOAD,
RESULT>
Messaging.BuilderMessaging.Builder.processor
(Channel<PAYLOAD> in, Channel<RESULT> out, ProcessorBuilder<? extends Message<? extends PAYLOAD>, ? extends Message<? extends RESULT>> processorBuilder) RegisterProcessorBuilder
for buildingProcessor
to be used isin
Channel
's subscriber andout
Channel
's publisher.<PAYLOAD,
RESULT>
Messaging.BuilderMessaging.Builder.processor
(Channel<PAYLOAD> in, Channel<RESULT> out, Processor<? extends Message<? extends PAYLOAD>, ? extends Message<? extends RESULT>> processor) <PAYLOAD> Messaging.Builder
Messaging.Builder.publisher
(Channel<PAYLOAD> channel, Flow.Publisher<? extends Message<? extends PAYLOAD>> publisher) RegisterFlow.Publisher
to be used for suppliedChannel
.<PAYLOAD> Messaging.Builder
Messaging.Builder.publisher
(Channel<PAYLOAD> channel, Flow.Publisher<? extends PAYLOAD> publisher, Function<? super PAYLOAD, ? extends Message<? extends PAYLOAD>> wrapper) RegisterFlow.Publisher
to be used for suppliedChannel
.<PAYLOAD> Messaging.Builder
Messaging.Builder.publisher
(Channel<PAYLOAD> channel, PublisherBuilder<? extends Message<? extends PAYLOAD>> publisherBuilder) RegisterPublisherBuilder
to be used for construction of the publisher for suppliedChannel
.<PAYLOAD> Messaging.Builder
Messaging.Builder.publisher
(Channel<PAYLOAD> channel, Publisher<? extends Message<? extends PAYLOAD>> publisher) <PAYLOAD> Messaging.Builder
Messaging.Builder.publisher
(Channel<PAYLOAD> channel, Publisher<? extends PAYLOAD> publisher, Function<? super PAYLOAD, ? extends Message<? extends PAYLOAD>> wrapper) <PAYLOAD> Messaging.Builder
Messaging.Builder.subscriber
(Channel<PAYLOAD> channel, Flow.Subscriber<? extends Message<? extends PAYLOAD>> subscriber) RegisterFlow.Subscriber
to be used for suppliedChannel
.<PAYLOAD> Messaging.Builder
Messaging.Builder.subscriber
(Channel<PAYLOAD> channel, Consumer<Multi<? extends Message<? extends PAYLOAD>>> consumer) <PAYLOAD,
RESULT>
Messaging.BuilderMessaging.Builder.subscriber
(Channel<PAYLOAD> channel, SubscriberBuilder<? extends Message<? extends PAYLOAD>, RESULT> subscriberBuilder) <PAYLOAD> Messaging.Builder
Messaging.Builder.subscriber
(Channel<PAYLOAD> channel, Subscriber<? extends Message<? extends PAYLOAD>> subscriber) RegisterSubscriber
to be used for suppliedChannel
.