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 names or SpringBean-names on which the event is published.
-
-
-
Element Detail
-
publishedBy
String[] publishedBy
List of names or SpringBean-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, a Spring config-property for the name, or the actual name. e.g. for ActiveMQ (JMS) this can be the bean-name of a Queue, or the bean-name of a Topic, a Spring config-property for the name, or the actual name.- Returns:
- names of the SpringBeans
- Default:
- {}
-
-