Annotation Interface AllowReplay


Annotation marking a Handler (or class) as being capable of handling replays, or not, depending on the value passed.

When placed on the type (class) level, the setting applies to all handlers that don't explicitly override it on the method level.

Marking methods as not allowing replay will not change the routing of a message (i.e. will not invoke another handler method). Messages that would otherwise be handled by such handler are simply ignored.

Since:
3.2
Author:
Allard Buijze
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to allow replays on this handler, or not.
  • Element Details

    • value

      boolean value
      Whether to allow replays on this handler, or not. Defaults to true
      Returns:
      Whether to allow replays on this handler, or not
      Default:
      true