Annotation Interface SimpleMessageSubscriber
Designates a class as a simple subscriber of a message bus. This makes it possible to avoid plumbing code for
subscribing to topics and use instead
ListensTo
with MessageBusHelper
.
An optional source()
parameter can be specified to choose a message bus for systems where more than one are
available.- Author:
- Fabrizio Giudici
-
Optional Element Summary
-
Field Summary
-
Field Details
-
DEFAULT_SOURCE
- See Also:
-
-
Element Details
-
source
The name of the source that this annotation refers to.- Returns:
- the source name
- Default:
"applicationMessageBus"
-