title | issue |
---|---|
Remove default messenger routing rules |
NEXT-12870 |
- Removed default
framework.messenger.routing
rules. This makes it now possible to send a message to a transport without also sending it to the default transport. - Added class
DefaultSenderLocator
- Changed message queue statistic handling to only track messages sent or received by the default transport
- Changed
ScheduledTask
so that it's possible to run them outside a schedule - Added parameter
messenger.default_transport_name
which defines the name of the default sender. The default value isdefault
- Added
DefaultTransportCompilerPass
which creates the aliasmessenger.default_transport
tomessenger.transport.%messenger.default_transport_name%
We've removed the default routing rules, because it made it impossible to send a messages to transports without also sending it to the default transport.
This is now handled by DefaultSenderLocator
which sends it to the messenger.default_transport
only if no
routing rule has matched and no sender was found.