- java.lang.Object
-
- io.helidon.messaging.Channel.Builder<PAYLOAD>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Channel<PAYLOAD>build()Build the instance from this builder.Channel<PAYLOAD>get()Channel.Builder<PAYLOAD>name(String name)Channel name, used to pair configuration of connectors vs.Channel.Builder<PAYLOAD>publisherConfig(Config config)Config available to publisher connector.Channel.Builder<PAYLOAD>subscriberConfig(Config config)Config available to subscriber connector.
-
-
-
Method Detail
-
name
public Channel.Builder<PAYLOAD> name(String name)
Channel name, used to pair configuration of connectors vs. channel configuration.- Parameters:
name- channel name- Returns:
- this builder
-
publisherConfig
public Channel.Builder<PAYLOAD> publisherConfig(Config config)
Config available to publisher connector.- Parameters:
config- config supplied to publishing connector- Returns:
- this builder
-
subscriberConfig
public Channel.Builder<PAYLOAD> subscriberConfig(Config config)
Config available to subscriber connector.- Parameters:
config- config supplied to subscribing connector- Returns:
- this builder
-
build
public Channel<PAYLOAD> build()
Description copied from interface:BuilderBuild the instance from this builder.
-
-