From f4bba7d5745098a171aa1d00a5bc9742b5afab00 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 21 Nov 2023 09:13:24 +0100 Subject: [PATCH] Update add-middleware.md Using 'messenger.bus.shopware' here causes a circular reference: "Circular reference detected for service "messenger.bus.shopware", path: "messenger.bus.shopware -> messenger.default_bus -> messenger.bus.shopware"." --- .../plugins/plugins/framework/message-queue/add-middleware.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/plugins/plugins/framework/message-queue/add-middleware.md b/guides/plugins/plugins/framework/message-queue/add-middleware.md index 00da58cc5..8ed7e1a3c 100644 --- a/guides/plugins/plugins/framework/message-queue/add-middleware.md +++ b/guides/plugins/plugins/framework/message-queue/add-middleware.md @@ -55,7 +55,7 @@ framework: messenger: default_bus: messenger.bus.shopware buses: - messenger.bus.shopware: + messenger.bus.default: middleware: - 'Swag\BasicExample\MessageQueue\Middleware\ExampleMiddleware' - 'Swag\BasicExample\MessageQueue\Middleware\AnotherExampleMiddleware'