Annotation Interface Topic
@Documented
@Retention(RUNTIME)
@Target({METHOD,PARAMETER,TYPE})
@Bindable
@Repeatable(Topics.class)
@Executable
@MessageMapping
@Inherited
public @interface Topic
Method level annotation used to specify which topics should be subscribed to.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
@AliasFor(annotation=io.micronaut.messaging.annotation.MessageMapping.class, member="value") String[] value- Returns:
- The topics to subscribe to
- Default:
{}
-
patterns
-