Package io.micronaut.mqtt.annotation.v3
Annotation Interface MqttPublisher
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Scope
@Introduction
@Recoverable
@Singleton
public @interface MqttPublisher
An introduction advice that automatically implements interfaces and abstract classes and publishes Mqtt messages.
- Since:
- 1.0.0
- Author:
- James Kleeh
- See Also:
-
Optional Element Summary
-
Element Details
-
value
String value- Returns:
- The topic to publish messages to.
- Default:
- ""
-