Annotation Interface Exchange
An exchange to which to bind a
RabbitListener
queue.- Since:
- 1.5
- Author:
- Gary Russell, Alex Panchenko
-
Field Details
-
TRUE
- See Also:
-
FALSE
- See Also:
-
-
Element Details
-
value
-
name
-
type
String typeThe 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:
- Default:
"direct"
-
durable
-
autoDelete
-
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[] adminsReturn 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:
{}
-