Skip to content

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

@Tobion

Description

@Tobion

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

      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