From 903eb975e30f331bba97ac8dcf685a581b17d6b0 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Sat, 5 Apr 2025 02:56:15 +0200 Subject: [PATCH] disable rabbit --- .../configuration/injection/ConfigureDIInfrastructure.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/eventDemo/configuration/injection/ConfigureDIInfrastructure.kt b/src/main/kotlin/eventDemo/configuration/injection/ConfigureDIInfrastructure.kt index 1b9de11..b670fef 100644 --- a/src/main/kotlin/eventDemo/configuration/injection/ConfigureDIInfrastructure.kt +++ b/src/main/kotlin/eventDemo/configuration/injection/ConfigureDIInfrastructure.kt @@ -3,7 +3,7 @@ package eventDemo.configuration.injection import com.rabbitmq.client.ConnectionFactory import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariDataSource -import eventDemo.adapter.infrastructureLayer.event.GameEventBusInRabbinMQ +import eventDemo.adapter.infrastructureLayer.event.GameEventBusInMemory import eventDemo.adapter.infrastructureLayer.event.GameEventStoreInPostgresql import eventDemo.adapter.infrastructureLayer.event.projection.GameListRepositoryInMemory import eventDemo.adapter.infrastructureLayer.event.projection.GameProjectionBusInMemory @@ -42,7 +42,7 @@ fun Module.configureDIInfrastructure(config: Configuration) { password = config.rabbitmq.password } } - singleOf(::GameEventBusInRabbinMQ) bind GameEventBus::class + singleOf(::GameEventBusInMemory) bind GameEventBus::class singleOf(::GameEventStoreInPostgresql) bind GameEventStore::class singleOf(::GameProjectionBusInMemory) bind GameProjectionBus::class