RED-8702: Explore document databases to store entityLog
- added default value for tenants-exchange
This commit is contained in:
parent
287f6bf324
commit
e30ea19f15
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user