public interface Exchange extends Declarable
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getArguments()
A map of arguments used to declare the exchange.
|
java.lang.String |
getName()
The name of the exchange.
|
java.lang.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.
|
getDeclaringAdmins, isIgnoreDeclarationExceptions, shouldDeclare
java.lang.String getName()
java.lang.String getType()
ExchangeTypes
for some well-known examples.boolean isDurable()
boolean isAutoDelete()
java.util.Map<java.lang.String,java.lang.Object> getArguments()
boolean isDelayed()
boolean isInternal()