From 4f831722d44a01b885adb24970e63a0975073cbf Mon Sep 17 00:00:00 2001 From: Duckflip Date: Tue, 17 Dec 2024 15:30:50 +0100 Subject: [PATCH] RabbitMQ_missing_queue: Adding rabbitMQ listener method for animal subject deletion in preclinical ms --- .../shanoir/ng/shared/configuration/RabbitMQConfiguration.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shanoir-ng-ms-common/src/main/java/org/shanoir/ng/shared/configuration/RabbitMQConfiguration.java b/shanoir-ng-ms-common/src/main/java/org/shanoir/ng/shared/configuration/RabbitMQConfiguration.java index 2727e20310..152ba628f4 100644 --- a/shanoir-ng-ms-common/src/main/java/org/shanoir/ng/shared/configuration/RabbitMQConfiguration.java +++ b/shanoir-ng-ms-common/src/main/java/org/shanoir/ng/shared/configuration/RabbitMQConfiguration.java @@ -315,6 +315,9 @@ public static Queue studiesSubjectStudyStudyCardTagQueue() { @Bean public static Queue deleteSubjectQueue() { return new Queue(DELETE_SUBJECT_QUEUE, true); } + + @Bean + public static Queue deleteAnimalSubjectQueue() { return new Queue(DELETE_ANIMAL_SUBJECT_QUEUE, true); } @Bean public static Queue importerQueue() {