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 Details

  • Method Details

    • incoming

      public static ChannelBuildItem incoming(String name, String connector)
      Creates a new instance of ChannelBuildItem for an incoming channel.
      Parameters:
      name - the name of the channel
      connector - the connector managing this channel if any.
      Returns:
      the new ChannelBuildItem
    • outgoing

      public static ChannelBuildItem outgoing(String name, String connector)
      Creates a new instance of ChannelBuildItem for an outgoing channel.
      Parameters:
      name - the name of the channel
      connector - the connector managing this channel if any.
      Returns:
      the new ChannelBuildItem
    • getName

      public String getName()
    • isManagedByAConnector

      public boolean isManagedByAConnector()
    • getConnector

      public String getConnector()
    • getDirection

      public ChannelDirection getDirection()