public interface Exchange extends Declarable
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getArguments()
A map of arguments used to declare the exchange.
|
String |
getName()
The name of the exchange.
|
String |
getType()
The type of the exchange.
|
boolean |
isAutoDelete()
True if the server should delete the exchange when it is no longer in use (if all bindings are deleted).
|
boolean |
isDelayed()
Is a delayed message exchange; currently requires a broker plugin.
|
boolean |
isDurable()
A durable exchange will survive a server restart.
|
boolean |
isInternal()
Is an exchange internal; i.e.
|
addArgument, getDeclaringAdmins, isIgnoreDeclarationExceptions, removeArgument, shouldDeclare
String getName()
String getType()
ExchangeTypes
for some well-known examples.boolean isDurable()
boolean isAutoDelete()
Map<String,Object> getArguments()
boolean isDelayed()
boolean isInternal()