Package io.micronaut.nats.annotation
Annotation Interface NatsListener
Class level annotation to indicate that a bean will be consumer of messages.
- Since:
- 1.0.0
- Author:
- jgrimm
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
connection- Returns:
- The connection to use
- See Also:
 - Default:
- ""
 
- 
queueString queue- Returns:
- the queue of the consumer
 - Default:
- ""
 
- 
clientIdString clientIdSets the client id of the Nats consumer. If not specified the client id is configured to be the value ofApplicationConfiguration.getName().- Returns:
- The client id
- Since:
- 3.1.0
 - Default:
- ""
 
 
-