From 02c6dedf54b3b0789030500bc1389dc9e5a87796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Qu=C3=A9m=C3=A9ner?= Date: Thu, 22 Mar 2018 16:50:28 +0100 Subject: [PATCH] Added configuration to setup TransactionManager --- .../config/packages/prooph_event_store_bus_bridge.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/prooph/event-store-bus-bridge/3.1/config/packages/prooph_event_store_bus_bridge.yaml b/prooph/event-store-bus-bridge/3.1/config/packages/prooph_event_store_bus_bridge.yaml index 5c2151ae..6cbce6f6 100644 --- a/prooph/event-store-bus-bridge/3.1/config/packages/prooph_event_store_bus_bridge.yaml +++ b/prooph/event-store-bus-bridge/3.1/config/packages/prooph_event_store_bus_bridge.yaml @@ -5,3 +5,12 @@ services: Prooph\EventStoreBusBridge\EventPublisher: tags: - { name: 'prooph_event_store.app.plugin' } + + # Uncomment these lines if your event store support transaction + # Read more: http://docs.getprooph.org/event-store/implementations/pdo_event_store/variants.html#3-2-1-2 + # + # Prooph\EventStore\TransactionalEventStore: '@Prooph\EventStore\EventStore' + # + # Prooph\EventStoreBusBridge\TransactionManager: + # tags: + # - { name: 'prooph_service_bus.app_command_bus.plugin' }