Package com.rabbitmq.client.amqp
Interface Management.ExchangeSpecification
- Enclosing interface:
Management
public static interface Management.ExchangeSpecification
Specification of an exchange.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionExchange argument.autoDelete
(boolean autoDelete) Whether the exchange is deleted when last queue is unbound from it.void
declare()
Declare the exchange.The name of the exchange.type
(Management.ExchangeType type) Type of the exchange.Type of the exchange (as a string, for non-built-in exchange types).
-
Method Details
-
name
The name of the exchange.- Parameters:
name
- exchange name- Returns:
- the exchange specification
-
autoDelete
Whether the exchange is deleted when last queue is unbound from it.- Parameters:
autoDelete
- auto-delete flag.- Returns:
- the exchange specification
-
type
Type of the exchange.- Parameters:
type
- exchange type- Returns:
- the exchange specification
-
type
Type of the exchange (as a string, for non-built-in exchange types).- Parameters:
type
- exchange type- Returns:
- the exchange specification
-
argument
Exchange argument.- Parameters:
key
- argument namevalue
- argument value- Returns:
- the exchange specification
-
declare
void declare()Declare the exchange.
-