Merge branch 'queueHotfix' into 'main'

hotfix: removed dlq from response queue to be equal to persistence-service

See merge request fforesight/layout-parser!89
This commit is contained in:
Dominique Eifländer 2023-12-13 09:54:43 +01:00
commit 68da328889

View File

@ -24,8 +24,7 @@ public class MessagingConfiguration {
@Bean
public Queue layoutparsingResponseQueue() {
return QueueBuilder.durable(LayoutParsingQueueNames.LAYOUT_PARSING_FINISHED_EVENT_QUEUE)//
.withArgument("x-dead-letter-exchange", "").withArgument("x-dead-letter-routing-key", LayoutParsingQueueNames.LAYOUT_PARSING_DLQ).build();
return QueueBuilder.durable(LayoutParsingQueueNames.LAYOUT_PARSING_FINISHED_EVENT_QUEUE).build();
}