Step 02 — Conformist (Invoicing)

- Ajout Symfony Messenger comme bus d'intégration
- MessengerSalesEventPublisher remplace le NaivePublisher pour dispatch via Messenger
- WhenOrderConfirmed (Invoicing) : consumer Conformist qui consomme sales.v1.OrderConfirmed tel quel
- Tests de compatibilité Conformist et intégration
- Configuration Messenger avec transport sync
This commit is contained in:
2026-03-04 00:31:08 +01:00
parent 21b8f37411
commit dcc81ec9bb
8 changed files with 454 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
framework:
messenger:
default_bus: messenger.bus.default
buses:
messenger.bus.default: ~
transports:
sync: 'sync://'
routing:
'MiniShop\Contracts\Sales\V1\Event\OrderConfirmed': sync
'MiniShop\Contracts\Sales\V1\Event\OrderPlaced': sync
'MiniShop\Contracts\Sales\V1\Event\OrderCancelled': sync