Class ChannelBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.smallrye.reactivemessaging.deployment.items.ChannelBuildItem
public final class ChannelBuildItem
extends io.quarkus.builder.item.MultiBuildItem
Represents an application channel.
These channels can be declared using
@Incoming, @Outgoing or injected Emitter,
and @Channel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()static ChannelBuildItemCreates a new instance ofChannelBuildItemfor an incoming channel.booleanstatic ChannelBuildItemCreates a new instance ofChannelBuildItemfor an outgoing channel.
-
Constructor Details
-
ChannelBuildItem
ChannelBuildItem(String name, ChannelDirection direction, String connector)
-
-
Method Details
-
incoming
Creates a new instance ofChannelBuildItemfor an incoming channel.- Parameters:
name- the name of the channelconnector- the connector managing this channel if any.- Returns:
- the new
ChannelBuildItem
-
outgoing
Creates a new instance ofChannelBuildItemfor an outgoing channel.- Parameters:
name- the name of the channelconnector- the connector managing this channel if any.- Returns:
- the new
ChannelBuildItem
-
getName
-
isManagedByAConnector
public boolean isManagedByAConnector() -
getConnector
-
getDirection
-