enqueue-dev icon indicating copy to clipboard operation
enqueue-dev copied to clipboard

[docs] Symfony Bundle: be explicit about service tags with "enqueue:transport:consume" command

Open macghriogair opened this issue 5 years ago • 3 comments

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 }

macghriogair avatar Sep 18 '19 08:09 macghriogair

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.

stale[bot] avatar Oct 18 '19 08:10 stale[bot]

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.

stale[bot] avatar Nov 17 '19 08:11 stale[bot]

Thank you. I've been tearing my hair out for hours wondering why my extension wasn't running

djmarland avatar May 24 '21 12:05 djmarland