Annotation Type Exchange
-
@Target({}) @Retention(RUNTIME) public @interface Exchange
An exchange to which to bind aRabbitListener
queue.- Since:
- 1.5
- Author:
- Gary Russell, Alex Panchenko
-
-
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
String
declare
String
delayed
String
durable
String
ignoreDeclarationExceptions
String
internal
String
name
String
type
The exchange type, including custom.String
value
-
-
-
Field Detail
-
TRUE
static final String TRUE
-
-
-
FALSE
static final String FALSE
-
-
-
type
String type
The exchange type, including custom. Defaults toExchangeTypes.DIRECT
. If a custom exchange type is used the corresponding plugin is required on the broker.- Returns:
- the exchange type.
- See Also:
ExchangeTypes
- Default:
- "direct"
-
-
-
durable
String durable
- Returns:
- false if the exchange is to be declared as non-durable.
- Default:
- "true"
-
-
-
autoDelete
String autoDelete
- Returns:
- true if the exchange is to be declared as auto-delete.
- Default:
- "false"
-
-
-
internal
String internal
- Returns:
- true if the exchange is to be declared as internal.
- Since:
- 1.6
- Default:
- "false"
-
-
-
ignoreDeclarationExceptions
String ignoreDeclarationExceptions
- Returns:
- true if the declaration exceptions should be ignored.
- Since:
- 1.6
- Default:
- "false"
-
-
-
delayed
String delayed
- Returns:
- true if the exchange is to be declared as an 'x-delayed-message' exchange. Requires the delayed message exchange plugin on the broker.
- Since:
- 1.6.4
- Default:
- "false"
-
-
-
arguments
Argument[] arguments
- Returns:
- the arguments to apply when declaring this exchange.
- 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:
- {}
-
-