You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
861 B

  1. framework:
  2. messenger:
  3. failure_transport: failed
  4. transports:
  5. # https://symfony.com/doc/current/messenger.html#transport-configuration
  6. async:
  7. dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
  8. options:
  9. use_notify: true
  10. check_delayed_interval: 60000
  11. retry_strategy:
  12. max_retries: 3
  13. multiplier: 2
  14. failed: 'doctrine://default?queue_name=failed'
  15. # sync: 'sync://'
  16. routing:
  17. Symfony\Component\Mailer\Messenger\SendEmailMessage: async
  18. Symfony\Component\Notifier\Message\ChatMessage: async
  19. Symfony\Component\Notifier\Message\SmsMessage: async
  20. # Route your messages to the transports
  21. # 'App\Message\YourMessage': async