Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Add Support for Immediate Message Handling within the Same Consumer in Symfony Messenger #58635

Closed as not planned
@rodion-k

Description

@rodion-k

Description

Add the ability to handle messages immediately within the same consumer without sending them to the queue, while preserving the current functionality when messages are dispatched from external contexts.

Current Behavior: When a message A is handled by a consumer and dispatches a message B, both messages are sent to their respective queues as configured, regardless of their context.

Proposed Behavior:

Message B should be handled immediately if it is dispatched during the handling of message A within the same consumer.

If message B is dispatched from an external context (e.g., a web process), it should still be sent to its configured queue.

This feature would improve efficiency by reducing latency for message chains that are handled within the same consumer, without affecting external dispatches. It ensures that synchronous handling happens only when appropriate, maintaining the reliability and scalability benefits of the queue system for other contexts.

Example

No response

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp