Join GitHub today
[Messenger] Add handled & sent stamps #29166
Based on #29159
This new feature marks sent and handled messages, so middleware can act upon these and use the handler(s) result(s).
I'm not sure yet about the best way to determine the handlers and senders names/descriptions to store in the stamps:
From previous conversations:
Makes sense to me and I think it was requested by @Nyholm before on Slack.
Targeting 4.2, because of the removal of the handler result forwarding by middleware. A userland middleware could have used this result, typically a cache middleware. Which would now require extra boring code in userland. This will simplify it and allow users to create their query bus instance until 4.3.