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 java.lang.String[]
admins
Return a list of admin bean names that should declare this component.Argument[]
arguments
java.lang.String
autoDelete
java.lang.String
declare
java.lang.String
delayed
java.lang.String
durable
java.lang.String
ignoreDeclarationExceptions
java.lang.String
internal
java.lang.String
name
java.lang.String
type
The exchange type, including custom.java.lang.String
value
-
-
-
Element Detail
-
value
@AliasFor("name") java.lang.String value
- Returns:
- the exchange name.
- Default:
- ""
-
-
-
name
@AliasFor("value") java.lang.String name
- Returns:
- the exchange name.
- Since:
- 2.0
- Default:
- ""
-
-
-
type
java.lang.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"
-
-
-
arguments
Argument[] arguments
- Returns:
- the arguments to apply when declaring this exchange.
- Since:
- 1.6
- Default:
- {}
-
-