Package io.contextmap.annotations
Annotation Type ContextEvent
Annotation used to mark payloads for events.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]List of names or SpringBean-names on which the event is published.
-
Element Details
-
publishedBy
String[] publishedByList 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 RabbitMQ with Cloud Stream 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 Kafka this can be the bean-name of a NewTopic, or the bean-name of a KafkaTemplate, a Spring config-property for the name, or the actual name. e.g. for Kafka with Cloud Stream this can be 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. e.g. for Azure EventHub this can be the bean-name of a EventHubProducerClient, or the bean-name of a EventHubProducerAsyncClient, a Spring config-property for the name, or the actual name. e.g. for Azure ServiceBus with Cloud Stream this can be a Spring config-property for the name, or the actual name.- Returns:
- names of the SpringBeans
- Default:
- {}
-