RED-10260: add quoteChar to component mapping

This commit is contained in:
Kilian Schuettler 2024-10-23 16:10:00 +02:00
parent a4d04bddf2
commit d7e27f4319

View File

@ -35,15 +35,15 @@ public class TenantQueueProviderConfig {
@Bean @Bean
@ConditionalOnProperty(prefix = "redaction-service", name = "priorityMode", havingValue = "false", matchIfMissing = true) @ConditionalOnProperty(prefix = "redaction-service", name = "priorityMode", havingValue = "false", matchIfMissing = true)
protected Set<TenantQueueConfiguration> getTenantQueueConfigs() { protected TenantQueueProvider getTenantQueueConfigs() {
return Set.of(TenantQueueConfiguration.builder() return new TenantQueueProvider(Set.of(TenantQueueConfiguration.builder()
.listenerId(MessageReceiver.REDACTION_REQUEST_LISTENER_ID) .listenerId(MessageReceiver.REDACTION_REQUEST_LISTENER_ID)
.exchangeName(REDACTION_REQUEST_EXCHANGE) .exchangeName(REDACTION_REQUEST_EXCHANGE)
.queuePrefix(REDACTION_REQUEST_QUEUE_PREFIX) .queuePrefix(REDACTION_REQUEST_QUEUE_PREFIX)
.dlqName(REDACTION_DLQ) .dlqName(REDACTION_DLQ)
.arguments(Map.of("x-max-priority", 2)) .arguments(Map.of("x-max-priority", 2))
.build()); .build()));
} }
} }