public interface Declarable
AmqpAdmin.
Registration can be limited to specific AmqpAdmins.| Modifier and Type | Method and Description |
|---|---|
default void |
addArgument(String name,
Object value)
Add an argument to the declarable.
|
Collection<?> |
getDeclaringAdmins()
The collection of
AmqpAdmins that should declare this
object; if empty, all admins should declare. |
boolean |
isIgnoreDeclarationExceptions()
Should ignore exceptions (such as mismatched args) when declaring.
|
default Object |
removeArgument(String name)
Remove an argument from the declarable.
|
boolean |
shouldDeclare()
Whether or not this object should be automatically declared
by any
AmqpAdmin. |
boolean shouldDeclare()
AmqpAdmin.Collection<?> getDeclaringAdmins()
AmqpAdmins that should declare this
object; if empty, all admins should declare.boolean isIgnoreDeclarationExceptions()
default void addArgument(String name, Object value)
name - the argument name.value - the argument value.