-
Optional Element Summary
Optional Elements
boolean
Flag that indicates whether this handler will handle external (non-local) messages as well as local messages.
boolean
Enables publication of locally handled messages.
boolean
Enables publication of handler metrics,
like
HandleMessageEvents
(if tracker monitoring is enabled).
boolean
Enables overriding the default behavior.
-
Element Details
-
value
boolean value
Enables overriding the default behavior. If a type is marked as local handler, a method can still be marked as
non-local using annotation @LocalHandler(false).
- Default:
- true
-
logMessage
boolean logMessage
Enables publication of locally handled messages. If true, messages and their payloads are logged as if
they were not handled locally. This is often desirable for locally handled queries and commands issued
by e.g. admins.
- Default:
- false
-
logMetrics
boolean logMetrics
Enables publication of handler metrics,
like
HandleMessageEvents
(if tracker monitoring is enabled).
- Default:
- false
-
allowExternalMessages
boolean allowExternalMessages
Flag that indicates whether this handler will handle external (non-local) messages as well as local messages.
The value of this flag is ignored if
value() is false.
- Default:
- false