@Documented @Target(value={ANNOTATION_TYPE,TYPE,METHOD}) @Retention(value=RUNTIME) public @interface AllowReplay
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.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
value
Whether to allow replays on this handler, or not.
|
Copyright © 2010–2018. All rights reserved.