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[]adminsReturn a list of admin bean names that should declare this component.Argument[]argumentsStringautoDeleteSpecifies if this queue should be auto deleted when not used.StringdeclareStringdurableSpecifies if this queue should be durable.StringexclusiveSpecifies if this queue should be exclusive.StringignoreDeclarationExceptionsStringnameStringvalue
-
-
-
-
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:
- {}
-
-