disable rabbit

This commit is contained in:
2025-04-05 02:56:15 +02:00
parent 83a92ab391
commit 903eb975e3

View File

@@ -3,7 +3,7 @@ package eventDemo.configuration.injection
import com.rabbitmq.client.ConnectionFactory import com.rabbitmq.client.ConnectionFactory
import com.zaxxer.hikari.HikariConfig import com.zaxxer.hikari.HikariConfig
import com.zaxxer.hikari.HikariDataSource 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.GameEventStoreInPostgresql
import eventDemo.adapter.infrastructureLayer.event.projection.GameListRepositoryInMemory import eventDemo.adapter.infrastructureLayer.event.projection.GameListRepositoryInMemory
import eventDemo.adapter.infrastructureLayer.event.projection.GameProjectionBusInMemory import eventDemo.adapter.infrastructureLayer.event.projection.GameProjectionBusInMemory
@@ -42,7 +42,7 @@ fun Module.configureDIInfrastructure(config: Configuration) {
password = config.rabbitmq.password password = config.rabbitmq.password
} }
} }
singleOf(::GameEventBusInRabbinMQ) bind GameEventBus::class singleOf(::GameEventBusInMemory) bind GameEventBus::class
singleOf(::GameEventStoreInPostgresql) bind GameEventStore::class singleOf(::GameEventStoreInPostgresql) bind GameEventStore::class
singleOf(::GameProjectionBusInMemory) bind GameProjectionBus::class singleOf(::GameProjectionBusInMemory) bind GameProjectionBus::class