Class EventConsumerInfo

java.lang.Object
io.quarkus.vertx.runtime.EventConsumerInfo

public class EventConsumerInfo extends Object
  • Field Details

    • annotation

      public final ConsumeEvent annotation
      The ConsumeEvent annotation declared on the event consumer method.
    • blockingAnnotation

      public final boolean blockingAnnotation
      Whether the Blocking annotation was declared on the event consumer method.
    • runOnVirtualThreadAnnotation

      public final boolean runOnVirtualThreadAnnotation
      Whether the RunOnVirtualThread annotation was declared on the event consumer method.
    • splitHeadersBodyParams

      public final boolean splitHeadersBodyParams
      Whether the event consumer method declares 2 parameters, where the first is the event headers and the second is the event body. In this case, the EventConsumerInvoker has to split the headers and body parameters explicitly.
    • invoker

      public final io.quarkus.runtime.RuntimeValue<jakarta.enterprise.invoke.Invoker<Object,Object>> invoker
      The 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)