@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
@Executable
@Inherited
public @interface Queue
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
connection |
boolean |
exclusive |
java.lang.String |
executor |
int |
numberOfConsumers |
int |
prefetch |
boolean |
reQueue
Only applies to consumer methods that do not inject an
Acknowledgement instance. |
@AliasFor(annotation=io.micronaut.messaging.annotation.MessageMapping.class, member="value") public abstract java.lang.String value
public abstract boolean reQueue
Acknowledgement
instance.public abstract boolean exclusive
public abstract int numberOfConsumers
@AliasFor(annotation=RabbitConnection.class, member="connection") public abstract java.lang.String connection
RabbitConnection.connection()
@AliasFor(annotation=RabbitConnection.class, member="executor") public abstract java.lang.String executor
RabbitConnection.executor()