java.lang.Object
io.helidon.messaging.Channel.Builder<PAYLOAD>
- Type Parameters:
PAYLOAD
- message payload type
- All Implemented Interfaces:
Builder<Channel.Builder<PAYLOAD>,
,Channel<PAYLOAD>> Supplier<Channel<PAYLOAD>>
public static final class Channel.Builder<PAYLOAD>
extends Object
implements Builder<Channel.Builder<PAYLOAD>,Channel<PAYLOAD>>
Channel builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance from this builder.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.
-
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
Description copied from interface:Builder
Build the instance from this builder. -
get
-