Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.1 KB

2021-04-07-remove-default-messenger-routing-rules.md

File metadata and controls

20 lines (18 loc) · 1.1 KB
title issue
Remove default messenger routing rules
NEXT-12870

Core

  • 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 is default
  • Added DefaultTransportCompilerPass which creates the alias messenger.default_transport to messenger.transport.%messenger.default_transport_name%

Upgrade Information

Default messenger routing

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.