Package io.micronaut.nats.annotation
Annotation Interface NatsClient
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Scope
@Introduction
@Singleton
@MessageProducer
public @interface NatsClient
An introduction advice that automatically implemnts interfaces and abstract classes and publishes nats messages.
- Since:
- 1.0.0
- Author:
- jgrimm
- See Also:
-
Optional Element Summary
-
Element Details
-
connection
- Returns:
- The connection to use
- See Also:
- Default:
- ""
-