framework:
    messenger:
        failure_transport: failed

        transports:
            # https://symfony.com/doc/current/messenger.html#transport-configuration
            async:
                dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
                options:
                    use_notify: true
                    check_delayed_interval: 60000
                retry_strategy:
                    max_retries: 3
                    multiplier: 2
            failed: 'doctrine://default?queue_name=failed'
            # sync: 'sync://'

        routing:
            Symfony\Component\Mailer\Messenger\SendEmailMessage: async
            Symfony\Component\Notifier\Message\ChatMessage: async
            Symfony\Component\Notifier\Message\SmsMessage: async
            App\Messenger\Entity\Identification: async
            App\Messenger\Entity\Operateur: async
            App\Messenger\Entity\OperateurCommodite: async
            App\Messenger\Entity\ProprietaireReel: async
            App\Messenger\Entity\Acquisition: async
            App\Messenger\Entity\Mandataire: async 
            App\Messenger\Entity\Investisseur: async
            App\Messenger\Entity\Methode: async
            App\Messenger\Entity\Vente: async
            App\Messenger\Entity\Production: async
            App\Messenger\Entity\Exportation: async
            App\Messenger\Entity\Permis: async
            