RED-8702: Explore document databases to store entityLog

- added default value for tenants-exchange
This commit is contained in:
maverickstuder 2024-04-05 11:55:53 +02:00
parent 287f6bf324
commit e30ea19f15

View File

@ -28,7 +28,7 @@ public class MongoTenantMessagingConfiguration {
@Bean(name = "mongoTenantExchange")
TopicExchange mongoTenantExchange(@Value("${fforesight.tenant-exchange.name}") String tenantExchangeName) {
TopicExchange mongoTenantExchange(@Value("${fforesight.tenant-exchange.name:tenants-exchange}") String tenantExchangeName) {
return new TopicExchange(tenantExchangeName);
}