Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

New Queues, Exchanges, Bindings not been created. #54

Closed
@ocristian

Description

@ocristian

Queues, exchanges or bindings not existing in the broker yet are not being automatically created when using @RabbitListener.

A possible root cause for it is because we have specific declaringAdmins, in those declarebles created by MultiRabbit.
This info is evaluated by RabbitAdmin while filtering the declarables.

Here, we can see the obj status during that evaluation.
Queue declaringAdmins is different than this.beanName

dec = {Queue@11016} "Queue [name=new-queue-name, durable=true, autoDelete=false, exclusive=false, arguments={},   actualName=new-queue-name]"  
 name = "new-queue-name"   
 durable = true  
 exclusive = false  
 autoDelete = false    
 actualName = "new-queue-name"  
 shouldDeclare = true  
 declaringAdmins = {ArrayList@11026}  size = 1  
  0 = "eventbus-admin" 
 ignoreDeclarationExceptions = true  
 arguments = {HashMap@11027}  size = 0  
this.explicitDeclarationsOnly = false  
this.beanName = "amqpAdmin"  

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions