From: Kai Moritz Date: Fri, 23 Feb 2024 11:45:51 +0000 (+0100) Subject: TMP X-Git-Tag: rebase--2024-02-23--16-28~8 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=3a92916b05c8d418c1ea764449279980f060b244;p=demos%2Fkafka%2Fchat TMP --- diff --git a/src/main/java/de/juplo/kafka/chat/backend/storage/mongodb/MongoDbStorageNotActiveConfiguration.java b/src/main/java/de/juplo/kafka/chat/backend/storage/mongodb/MongoDbStorageNotActiveConfiguration.java index 18ec2416..91602aa0 100644 --- a/src/main/java/de/juplo/kafka/chat/backend/storage/mongodb/MongoDbStorageNotActiveConfiguration.java +++ b/src/main/java/de/juplo/kafka/chat/backend/storage/mongodb/MongoDbStorageNotActiveConfiguration.java @@ -7,7 +7,7 @@ import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; -@ConditionalOnExpression("#{${chat.backend.inmemory.storage-strategy} != 'mongodb'}") +@ConditionalOnExpression("!'${chat.backend.inmemory.storage-strategy}'.toLowerCase().equals('mongodb')") @Configuration @Slf4j public class MongoDbStorageNotActiveConfiguration