Annotation Type Queue
-
@Target({}) @Retention(RUNTIME) public @interface Queue
A queue definition used within the bindings attribute of aQueueBinding
.- Since:
- 1.5
- Author:
- Gary Russell
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
admins
Return a list of admin bean names that should declare this component.Argument[]
arguments
java.lang.String
autoDelete
Specifies if this queue should be auto deleted when not used.java.lang.String
declare
java.lang.String
durable
Specifies if this queue should be durable.java.lang.String
exclusive
Specifies if this queue should be exclusive.java.lang.String
ignoreDeclarationExceptions
java.lang.String
name
java.lang.String
value
-
-
-
Element Detail
-
value
@AliasFor("name") java.lang.String value
- Returns:
- the queue name or "" for a generated queue name (default).
- Default:
- ""
-
-
-
name
@AliasFor("value") java.lang.String name
- Returns:
- the queue name or "" for a generated queue name (default).
- Since:
- 2.0
- Default:
- ""
-
-
-
durable
java.lang.String durable
Specifies if this queue should be durable. By default if queue name is provided it is durable.- Returns:
- true if the queue is to be declared as durable.
- See Also:
Queue.isDurable()
- Default:
- ""
-
-
-
exclusive
java.lang.String exclusive
Specifies if this queue should be exclusive. By default if queue name is provided it is not exclusive.- Returns:
- true if the queue is to be declared as exclusive.
- See Also:
Queue.isExclusive()
- Default:
- ""
-
-
-
autoDelete
java.lang.String autoDelete
Specifies if this queue should be auto deleted when not used. By default if queue name is provided it is not auto-deleted.- Returns:
- true if the queue is to be declared as auto-delete.
- See Also:
Queue.isAutoDelete()
- Default:
- ""
-
-
-
arguments
Argument[] arguments
- Returns:
- the arguments to apply when declaring this queue.
- Since:
- 1.6
- Default:
- {}
-
-