Hello all. Does anyone knows how to set RabbitMQ to work togheter with Shopware 6 instead of default transport messaging? As starting point I had a look on vendor/shopware/core/Framework/Resources/config/packages/enqueue.yaml and vendor/shopware/core/Framework/Resources/config/packages/framework.yaml. I’m not sure how to specify sw6 to use rabbitMQ driver and how to set the queue name and other required parameters like host,port,…
We’ve tried to set in vendor/shopware/core/Framework/Resources/config/packages/enqueue.yaml:
enqueue:
default:
transport:
dsn: "stomp+rabbitmq://guest:guest@localhost:5672"
factory_service: Shopware\Core\Framework\MessageQueue\Enqueue\ConnectionFactoryFactory
client: ~
But we have the following error:
“Attempted to load class “Client” from namespace “RabbitMq\ManagementApi”.↵Did you forget a “use” statement…”
vendor/enqueue/enqueue/Client/Driver/StompManagementClient.php on line 27. Seems the
RabbitMq\ManagementApi\Client doesn't exists
Any help will be appreciated. Thank you!