Package io.contextmap.annotations
Annotation Type ContextEvent
-
@Target(TYPE) @Retention(RUNTIME) public @interface ContextEvent
Annotation used to mark payloads for events.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]publishedByList of Spring Bean names on which the event is published.
-
-
-
Element Detail
-
publishedBy
String[] publishedBy
List of Spring Bean names on which the event is published. If the event is published to multiple location, then you can provide multiple bean-names. e.g. for RabbitMQ this can be the bean-name of an Exchange or the bean-name of a RabbitTemplate.- Returns:
- names of the SpringBeans
- Default:
- {}
-
-