Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Messenger] BC break in SF 5.0 for stamps due to changes stamp classes #37616

Copy link
Copy link
Closed
@Tobion

Description

@Tobion
Issue body actions

Symfony version(s) affected: >=5.0

Description
Moving the transports to separate packages in #35422 broke BC for the stamps.

How to reproduce
Using the deprecated classes to fetch stamps does not work anymore since the stamps are now added to the envelope using the new classes. So this code $envelope->last(\Symfony\Component\Messenger\Transport\AmqpExt\AmqpReceivedStamp::class); does not find the stamp anymore.

Possible Solution
Duplicate the stamps in the evelope with the new class and deprecated classes. Or add some logic in the retrieving methods to know about new and old class names.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.