Skip to content

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

Open
@macghriogair

Description

@macghriogair

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 }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions