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 String[]
admins
Return a list of admin bean names that should declare this component.Argument[]
arguments
String
autoDelete
Specifies if this queue should be auto deleted when not used.String
declare
String
durable
Specifies if this queue should be durable.String
exclusive
Specifies if this queue should be exclusive.String
ignoreDeclarationExceptions
String
name
String
value
-
-
-
-
durable
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
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
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:
- ""
-
-
-
ignoreDeclarationExceptions
String ignoreDeclarationExceptions
- Returns:
- true if the declaration exceptions should be ignored.
- Since:
- 1.6
- Default:
- "false"
-
-
-
arguments
Argument[] arguments
- Returns:
- the arguments to apply when declaring this queue.
- Since:
- 1.6
- Default:
- {}
-
-
-
declare
String declare
- Returns:
- true if the admin(s), if present, should declare this component.
- Since:
- 2.1
- Default:
- "true"
-
-
-
admins
String[] admins
Return a list of admin bean names that should declare this component. By default all admins will declare it- Returns:
- the bean names
- Since:
- 2.1
- Default:
- {}
-
-