Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Description
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