A custom spring starter allowing deleting rabbit queues and their associated DLQ. It is build around the flowing technical stack:
- Kotlin 2,
- Maven 3,
- Spring Boot 3
Run & Use
mvn clean install
To use this starter add the dependency to the pom.xml of the target application :
<dependency>
<groupId>com.badarak</groupId>
<artifactId>queue-cleaner-starter</artifactId>
<version>VERSION_OF_STARTER</version>
</dependency>
And add this flowing properties to the application.yaml :
queue-cleaner:
enabled: true
queues:
- name.of.queue.to.delete-1
- name.of.queue.to.delete-2
- name.of.queue.to.delete-3