Annotation Interface RqueueHandler


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface RqueueHandler
This designated any public method as listener given the containing method is also annotated with RqueueListener. In a class there must be exactly one primary one handler.

Registering more than one primary handler is not allowed.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    When true, designate that this is the default method only one method can be so designated.
  • Element Details

    • primary

      boolean primary
      When true, designate that this is the default method only one method can be so designated.
      Returns:
      true if this is the default method.
      Default:
      false