Package io.micronaut.rabbitmq.annotation
Annotation Interface Binding
@Documented
@Retention(RUNTIME)
@Target({METHOD,PARAMETER})
@Bindable
@Inherited
public @interface Binding
Used to specify which binding (routing key) messages should be
sent to. Can be applied to a parameter for a dynamic value per
execution.
- Since:
- 1.1.0
- Author:
- James Kleeh
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionShould always be supplied when the annotation is applied to a method.
-
Element Details
-
value
@AliasFor(annotation=io.micronaut.messaging.annotation.MessageMapping.class, member="value") String valueShould always be supplied when the annotation is applied to a method.- Returns:
- The binding (routing key) to publish messages to.
- Default:
- ""
-
connection
- Returns:
- The connection to use
- See Also:
- Default:
- ""
-