java.lang.Object
io.helidon.messaging.Channel.Builder<PAYLOAD>
- Type Parameters:
PAYLOAD- message payload type
- All Implemented Interfaces:
io.helidon.common.Builder<Channel.Builder<PAYLOAD>,,Channel<PAYLOAD>> Supplier<Channel<PAYLOAD>>
public static final class Channel.Builder<PAYLOAD>
extends Object
implements io.helidon.common.Builder<Channel.Builder<PAYLOAD>,Channel<PAYLOAD>>
Channel builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()get()Channel name, used to pair configuration of connectors vs.publisherConfig(Config config) Config available to publisher connector.subscriberConfig(Config config) Config available to subscriber connector.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.common.Builder
identity, update
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Channel name, used to pair configuration of connectors vs. channel configuration.- Parameters:
name- channel name- Returns:
- this builder
-
publisherConfig
Config available to publisher connector.- Parameters:
config- config supplied to publishing connector- Returns:
- this builder
-
subscriberConfig
Config available to subscriber connector.- Parameters:
config- config supplied to subscribing connector- Returns:
- this builder
-
build
- Specified by:
buildin interfaceio.helidon.common.Builder<Channel.Builder<PAYLOAD>,Channel<PAYLOAD>>
-
get
-