Skip to content

[Messenger] Worker state and reset_on_message #16688

Closed
@volendavidov

Description

@volendavidov

The documentation states that That's why Symfony automatically resets the service container between two messages.. However it does not explain that the service must implement Symfony\Contracts\Service\ResetInterface or Symfony\Component\Cache\ResettableInterface in order to reset the service leading to the impression that a new instance of the service will be provided automagically. Shouldn't this be elaborated in the documentation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    MessengerhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions