import { Module } from '@nestjs/common';
import { OutboxModule } from '../outbox/outbox.module';
import { AdaptersModule } from '../adapters/adapters.module';
import { RuleEngine } from './rule-engine';
import { RouteSimulator } from './route-simulator';
import { RouteService } from './route.service';
import { RouteProjector } from './route.projector';
import { RouteController } from './route.controller';

@Module({
  imports: [OutboxModule, AdaptersModule],
  controllers: [RouteController],
  providers: [RuleEngine, RouteSimulator, RouteService, RouteProjector],
  exports: [RuleEngine, RouteSimulator, RouteService],
})
export class RoutingModule {}
