Annotation Type SimpleMessageSubscriber
-
@Retention(RUNTIME) @Target(TYPE) @Documented public @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 insteadListensTo
withMessageBusHelper
. An optionalsource()
parameter can be specified to choose a message bus for systems where more than one are available.- Author:
- Fabrizio Giudici
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
DEFAULT_SOURCE
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
source
The name of the source that this annotation refers to.
-