Class InjectedEmitterBuildItem

java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.smallrye.reactivemessaging.deployment.items.InjectedEmitterBuildItem

public final class InjectedEmitterBuildItem extends io.quarkus.builder.item.MultiBuildItem
Represents an emitter injection.
  • Constructor Details

    • InjectedEmitterBuildItem

      public InjectedEmitterBuildItem(String name, String emitterType, String overflow, int bufferSize, boolean hasBroadcast, int awaitSubscribers)
  • Method Details

    • of

      public static InjectedEmitterBuildItem of(String name, String emitterType, String overflow, int bufferSize, boolean hasBroadcast, int awaitSubscribers)
      Creates a new instance of InjectedEmitterBuildItem setting the overflow strategy.
      Parameters:
      name - the name of the stream
      emitterType - emitterType
      overflow - the overflow strategy
      bufferSize - the buffer size, if overflow is set to BUFFER
      Returns:
      the new InjectedEmitterBuildItem
    • getEmitterConfig

      public io.smallrye.reactive.messaging.EmitterConfiguration getEmitterConfig()