Package io.micronaut.mqtt.annotation
Annotation Interface Topics
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Executable
@Inherited
public @interface Topics
Used to supply multiple topics on subscriber methods. Subscribers can subscribe
to multiple topics with individual qos settings, however publishers can only
publish to a single topic so this annotation should not be used in that context.
- Since:
- 1.0.0
- Author:
- James Kleeh
-
Optional Element Summary
-
Element Details
-
value
Topic[] value- Default:
- {}
-