From aa9dac74e8e33f7e4081d0f62742041c0a0b3f7b Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Tue, 8 Apr 2025 00:44:39 +0200 Subject: [PATCH] enable 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 b670fef..1b9de11 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.GameEventBusInMemory +import eventDemo.adapter.infrastructureLayer.event.GameEventBusInRabbinMQ 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(::GameEventBusInMemory) bind GameEventBus::class + singleOf(::GameEventBusInRabbinMQ) bind GameEventBus::class singleOf(::GameEventStoreInPostgresql) bind GameEventStore::class singleOf(::GameProjectionBusInMemory) bind GameProjectionBus::class