Package io.micronaut.rabbitmq.annotation
Annotation Interface RabbitClient
@Documented
@Retention(RUNTIME)
@Target(TYPE)
@Scope
@Introduction
@Type(RabbitMQIntroductionAdvice.class)
@Recoverable
@Singleton
@Inherited
public @interface RabbitClient
An introduction advice that automatically implements interfaces and abstract classes and publishes RabbitMQ messages.
- Since:
- 1.1.0
- Author:
- James Kleeh
- See Also:
-
Optional Element Summary
-
Element Details
-
value
String value- Returns:
- The exchange to publish messages to.
- Default:
- ""
-
connection
- Returns:
- The connection to use
- See Also:
- Default:
- ""
-