Skip to content
Snippets Groups Projects
Commit 2c1e9c24 authored by Sascha Nowak's avatar Sascha Nowak Committed by Benni Mack
Browse files

[FEATURE] Use Symfony attribute to autoconfigure message handler

Message handlers had to be registered in the extensions
`Services.yaml` file with the `messenger.message_handler` tag.

This patch enables automatic message handlers registration
by using the existing `\Symfony\Component\Messenger\Attribute\AsMessageHandler`
symfony PHP attribute.

Resolves: #101700
Releases: main
Change-Id: I8dbd24d43f61c66b7e445b71ae1db3a178aa4991
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82284


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarDaniel Goerz <daniel.goerz@b13.com>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent e47d34bd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment