Annotation Interface Topic
@Documented
@Retention(RUNTIME)
@Target({METHOD,PARAMETER,TYPE})
@Bindable
@Repeatable(Topics.class)
public @interface Topic
An annotation used to specify a topic name.
- Since:
- 1.0
- Author:
- Jonathan Knight
-
Optional Element Summary
-
Element Details
-
value
@AliasFor(annotation=io.micronaut.messaging.annotation.MessageMapping.class, member="value") String[] value- Returns:
- The topics to subscribe to
- Default:
- {}
-