Nicolas Grekas bc85223ba0 feature #62875 [Messenger] Add regex support for transport name matching in messenger:consume command (santysisi)
This PR was merged into the 8.1 branch.

Discussion
----------

[Messenger] Add regex support for transport name matching in `messenger:consume` command

| Q             | A
| ------------- | ---
| Branch?       | 8.1
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Issues        | Fix #61259
| License       | MIT

### Overview:
This PR adds support for regex patterns in the `messenger:consume` command, allowing devs to match transport names dynamically (e.g., scheduler_.*).

### Key Changes:
* Introduced regex matching for transport names.

### Example Usage:
* `php bin/console messenger:consume '(?i)THIRD.*' second.*` – Match multiple transports using regex patterns.
* `php bin/console messenger:consume second.*` – Match transports starting with second.
* `php bin/console messenger:consume one.* normal` – Match using both a regex (one.*) and a specific name (normal).

### Note:
This feature does not work when the `messenger:consume` command is run in interactive mode.

Commits
-------

4e534339627 [Messenger] Add regex support for transport name matching in `messenger:consume` command
2026-01-31 10:44:46 +01:00
2026-01-06 13:44:28 +01:00
2024-08-12 12:26:02 +02:00
2026-01-06 16:30:33 +01:00
2019-09-17 11:54:03 +02:00
2026-01-07 13:23:22 +01:00
2024-11-26 11:00:31 +01:00
2023-01-24 15:02:46 +01:00
2024-07-23 14:28:30 +02:00
2025-07-31 11:31:17 +02:00
2024-07-23 14:28:30 +02:00
2026-01-06 13:19:16 +01:00
2024-07-23 14:28:30 +02:00

Messenger Component

The Messenger component helps applications send and receive messages to/from other applications or via message queues.

Sponsor

The Messenger component for Symfony 8.0 is backed by Cadoles.

Cadoles is a French Cooperative and Participative Company (SCOP) providing IT services based in Dijon. This company is a key player in free software and open formats, and uses Symfony in its development services for businesses and institutions.

Help Symfony by sponsoring its development!

Resources

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:35:53.060Z
Readme MIT 3.5 MiB
Languages
PHP 100%