Package io.micronaut.mqtt.annotation
Annotation Interface Qos
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD,PARAMETER})
@Bindable
@Inherited
public @interface Qos
Used for binding the message Qos. This annotation should not be used on subscriber
classes or methods as the Qos must be set per topic. Use
Topic.qos()
instead.
The annotation may be applied to publisher classes and methods because a publisher may only
publish to a single topic.- Since:
- 1.0.0
- Author:
- James Kleeh
-
Optional Element Summary
-
Field Summary
-
Field Details
-
DEFAULT_VALUE
static final int DEFAULT_VALUE- See Also:
-
-
Element Details
-
value
int value- Default:
- 1
-