java.lang.Object
io.helidon.messaging.Channel<PAYLOAD>
- Type Parameters:
PAYLOAD- payload type wrapped inMessagebeing emitted by publisher and received by subscriber.
Channel representing publisher - subscriber relationship.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <PAYLOAD> Channel.Builder<PAYLOAD> builder()New builder for configuring new channel.static <PAYLOAD> Channel<PAYLOAD> create()Create new empty channel with random name.static <PAYLOAD> Channel<PAYLOAD> Create new empty channel with given name.name()Channel name, used to pair configuration of connectors vs.
-
Constructor Details
-
Channel
public Channel()
-
-
Method Details
-
name
Channel name, used to pair configuration of connectors vs. channel configuration.- Returns:
- channel name
-
create
Create new empty channel with given name.- Type Parameters:
PAYLOAD- message payload type- Parameters:
name- channel name- Returns:
- new channel
-
create
Create new empty channel with random name.- Type Parameters:
PAYLOAD- message payload type- Returns:
- new channel
-
builder
New builder for configuring new channel.- Type Parameters:
PAYLOAD- message payload type- Returns:
- channel builder
-