Package io.micronaut.rabbitmq.annotation
Annotation Type Queue
-
@Documented @Retention(RUNTIME) @Target(METHOD) @Executable @Inherited public @interface QueueUsed to specify which queue messages should be consumed from. The queue must already exist in the broker.- Since:
- 1.1.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Stringvalue
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringconnectionbooleanexclusivejava.lang.StringexecutorintnumberOfConsumersintprefetchbooleanreQueueOnly applies to consumer methods that do not inject anAcknowledgementinstance.
-
-
-
-
connection
@AliasFor(annotation=RabbitConnection.class, member="connection") java.lang.String connection
- Returns:
- The connection to use
- See Also:
RabbitConnection.connection()
- Default:
- ""
-
-
-
executor
@AliasFor(annotation=RabbitConnection.class, member="executor") java.lang.String executor
- Returns:
- The executor to use
- See Also:
RabbitConnection.executor()
- Default:
- ""
-
-