enqueue-dev
enqueue-dev copied to clipboard
[docs] Symfony Bundle: be explicit about service tags with "enqueue:transport:consume" command
The docs for Symfony Bundle should be more explicit about extension tags when using different consume commands. I'm referring to https://php-enqueue.github.io/bundle/consumption_extension/#consumption-extension
When using the "enqueue:transport:consume" command a consumption extension needs to be registered with the tag enqueue.transport.consumption_extension
(while docs currently only mention the tag enqueue.consumption.extension
which seems to work only when used with the "enque:consume" command).
Example
# Queue Consumption Extensions
Infrastructure\Queue\Consumption\Extension\DeadLetterExtension:
tags:
- { name: 'enqueue.transport.consumption_extension', priority: 255 }
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Thank you. I've been tearing my hair out for hours wondering why my extension wasn't running