Package io.quarkus.vertx.runtime
Class EventConsumerInfo
java.lang.Object
io.quarkus.vertx.runtime.EventConsumerInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConsumeEventTheConsumeEventannotation declared on the event consumer method.final booleanWhether theBlockingannotation was declared on the event consumer method.The invoker for the event consumer method.final booleanWhether theRunOnVirtualThreadannotation was declared on the event consumer method.final booleanWhether the event consumer method declares 2 parameters, where the first is the event headers and the second is the event body. -
Constructor Summary
ConstructorsConstructorDescriptionEventConsumerInfo(ConsumeEvent annotation, boolean blockingAnnotation, boolean runOnVirtualThreadAnnotation, boolean splitHeadersBodyParams, io.quarkus.runtime.RuntimeValue<jakarta.enterprise.invoke.Invoker<Object, Object>> invoker) -
Method Summary
-
Field Details
-
annotation
TheConsumeEventannotation declared on the event consumer method. -
blockingAnnotation
public final boolean blockingAnnotationWhether theBlockingannotation was declared on the event consumer method. -
runOnVirtualThreadAnnotation
public final boolean runOnVirtualThreadAnnotationWhether theRunOnVirtualThreadannotation was declared on the event consumer method. -
splitHeadersBodyParams
public final boolean splitHeadersBodyParamsWhether the event consumer method declares 2 parameters, where the first is the event headers and the second is the event body. In this case, theEventConsumerInvokerhas to split the headers and body parameters explicitly. -
invoker
public final io.quarkus.runtime.RuntimeValue<jakarta.enterprise.invoke.Invoker<Object,Object>> invokerThe invoker for the event consumer method.
-
-
Constructor Details
-
EventConsumerInfo
public EventConsumerInfo(ConsumeEvent annotation, boolean blockingAnnotation, boolean runOnVirtualThreadAnnotation, boolean splitHeadersBodyParams, io.quarkus.runtime.RuntimeValue<jakarta.enterprise.invoke.Invoker<Object, Object>> invoker)
-