Skip to content

Commit f73c856

Browse files
committed
feature #54859 [Messenger] Don't mark EnvelopeAwareExceptionInterface internal (valtzu)
This PR was merged into the 7.1 branch. Discussion ---------- [Messenger] Don't mark `EnvelopeAwareExceptionInterface` internal | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT As discussed [here](symfony/symfony#54842 (comment)), let's expose `EnvelopeAwareExceptionInterface` to allow custom Messenger middlewares throw a custom exception without causing stamps from previous middlewares being dropped. Commits ------- 7713fd17f5 Don't mark EnvelopeAwareExceptionInterface internal
2 parents 20d1288 + da518e4 commit f73c856

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ CHANGELOG
99
* Add `--all` option to the `messenger:consume` command
1010
* Add parameter `$jitter` to `MultiplierRetryStrategy` in order to randomize delay and prevent the thundering herd effect
1111
* Add `SIGQUIT` signal among list of signals that gracefully shut down `messenger:consume` and `messenger:failed:retry` commands
12+
* Add `EnvelopeAwareExceptionInterface` for exceptions thrown from middlewares to prevent stamps added by previous middlewares being dropped
1213

1314
7.0
1415
---

Exception/EnvelopeAwareExceptionInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313

1414
use Symfony\Component\Messenger\Envelope;
1515

16-
/**
17-
* @internal
18-
*/
1916
interface EnvelopeAwareExceptionInterface
2017
{
2118
public function getEnvelope(): ?Envelope;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy