Skip to content

Messenger 7.x / 8.x#18

Merged
f3l1x merged 21 commits intomasterfrom
fx/next
Mar 9, 2026
Merged

Messenger 7.x / 8.x#18
f3l1x merged 21 commits intomasterfrom
fx/next

Conversation

@f3l1x
Copy link
Member

@f3l1x f3l1x commented Feb 5, 2025

No description provided.

@radimvaculik
Copy link
Member

StopWorkerOnSigtermSignalListener is not present in symfony/messenger @ v7

@martenb
Copy link
Contributor

martenb commented Sep 24, 2025

any update on this?

f3l1x added 14 commits March 9, 2026 20:02
Move getMessageHandlers() from HandlerPass to BuilderMan::getHandlerServiceNames().
Add getHandlerMapping() to BuilderMan. Both reused by HandlerPass, RoutingPass, and ConsolePass.
Add worker config schema (memoryLimit, timeLimit, messageLimit, failureLimit),
cache config for StopWorkersCommand/restart signal, and fallbackBus schema.
Register StopWorkerOnCustomStopExceptionListener and ResetMemoryUsageListener
as always-on. Conditionally register worker limit and restart signal listeners.
Register DoctrineTransportFactory automatically when ConnectionRegistry
is available in the container. Move TransportFactory finalization to
beforePassCompile to support late-registered factories.
Wire handler mapping into DebugCommand and transport names into
StatsCommand via ConsolePass::beforePassCompile.
Support fallbackBus config option for RoutableMessageBus, used when
no bus stamp is present on the envelope.
Auto-discover routing from #[AsMessage] attributes on message classes
by scanning handler method parameters. NEON config takes precedence
over attribute-based routing.
Document worker limits, cache support, fallbackBus, Doctrine
auto-registration, and #[AsMessage] attribute routing.
@f3l1x f3l1x changed the title Messenger 7.x Messenger 7.x / 8.x Mar 9, 2026
f3l1x added 5 commits March 9, 2026 21:00
Individual buses are no longer autowired — RoutableMessageBus is the
single autowired MessageBusInterface, ensuring SyncTransport (and any
other autowired consumer) routes through the correct bus via BusNameStamp.

Remove the now-unused `autowired` bus config option from the schema.
Remove class_exists guard for StatsCommand (always available in Symfony 7+).
Fix DebugCommand mapping to show handler class names instead of service IDs.
Add execution-based tests using CommandTester for DebugCommand,
SetupTransportsCommand, and StatsCommand.
@f3l1x f3l1x merged commit 2a5a4e8 into master Mar 9, 2026
1 of 5 checks passed
@f3l1x f3l1x deleted the fx/next branch March 9, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants