Is there a way to disable autodeclaration of queues, exchanges and bindings? As far as I can tell, the only way to do it is to provide an alternate implementation of RabbitAdmin.
We define a few Queues as beans in a common java based ApplicationConfiguration which are provided to other beans through qualifiers. We wanted to declare these manually during the creation of other beans based on the type of component being started etc... Unfortunately, because this class is finding all beans of type Exchange, Queue, Binding, this class is creating Queues, Exchanges, Bindings which it should not. These Queues need to be beans because multiple other beans depend on them.