<?php

$container->loadFromExtension('framework', [
    'serializer' => true,
    'messenger' => [
        'reset_on_message' =>  true,
        'serializer' => [
            'default_serializer' => 'messenger.transport.symfony_serializer',
            'symfony_serializer' => [
                'format' => 'csv',
                'context' => ['enable_max_depth' => true],
            ],
        ],
        'transports' => [
            'default' => 'amqp://localhost/%2f/messages',
        ],
    ],
]);
