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 Summary
ConstructorsConstructorDescriptionInjectedEmitterBuildItem(String name, String emitterType, String overflow, int bufferSize, boolean hasBroadcast, int awaitSubscribers) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.reactive.messaging.EmitterConfigurationstatic InjectedEmitterBuildItemof(String name, String emitterType, String overflow, int bufferSize, boolean hasBroadcast, int awaitSubscribers) Creates a new instance ofInjectedEmitterBuildItemsetting the overflow strategy.
-
Constructor Details
-
InjectedEmitterBuildItem
-
-
Method Details
-
of
public static InjectedEmitterBuildItem of(String name, String emitterType, String overflow, int bufferSize, boolean hasBroadcast, int awaitSubscribers) Creates a new instance ofInjectedEmitterBuildItemsetting the overflow strategy.- Parameters:
name- the name of the streamemitterType- emitterTypeoverflow- the overflow strategybufferSize- the buffer size, if overflow is set toBUFFER- Returns:
- the new
InjectedEmitterBuildItem
-
getEmitterConfig
public io.smallrye.reactive.messaging.EmitterConfiguration getEmitterConfig()
-