Comments (9)
Add this line in your config/bundles.php
file:
Enqueue\MessengerAdapter\Bundle\EnqueueAdapterBundle::class => ['all' => true]
from messenger-enqueue-transport.
For future visitors, in case they run into the same issue as me when dealing with non-flex Symfony apps: there are two different bundles Enqueue\MessengerAdapter\Bundle\EnqueueAdapterBundle
and \Enqueue\Bundle\EnqueueBundle
. Both are required.
from messenger-enqueue-transport.
In case this helps anybody (even though this looks unrelated to enqueue), I had the following message on a fresh Symfony 4.2 + messenger app:
No transport supports the given DSN "amqp://guest:guest@localhost:5672/%2f/messages".
I fixed the issue by installing the amqp-pack
bundle from Symfony with:
composer req amqp
That package also enforces that you have the amqp
PHP extension installed and enabled 👍
from messenger-enqueue-transport.
There are a few bugs to be fixed in this pull-request. Could you check your application with the source code in the PR branch and be sure to clear your cache after installing the messenger adapter?
from messenger-enqueue-transport.
@sroze I cloned this repo https://github.com/scarbo87/messenger-adapter, copied files in my vendor directory, cleaned cache but i still got the error
from messenger-enqueue-transport.
I suggest you clone this repo instead, it contains the latest fixes: https://github.com/php-enqueue/messenger-adapter.
from messenger-enqueue-transport.
I created an clean project to test
composer create-project symfony/website-skeleton my_project
cd my_project
composer req symfony/messenger enqueue/messenger-adapter enqueue/redis predis/predis:^1
editing .env to set ENQUEUE_DSN content
editing config/packages/messenger.yaml to add amqp: enqueue://default
adding "Enqueue\MessengerAdapter\Bundle\EnqueueAdapterBundle::class => ['all' => true]" in config/bundles.php
execute bin/console messenger:consume-messages amqp
I got the error
In TransportFactory.php line 37:
No transport supports the given DSN "enqueue://default".
Now i download master branch and update package un vendor dir, clean the dev cache and it's work (no error message)
from messenger-enqueue-transport.
same with me: No transport supports the given DSN "amqp://guest:guest@localhost:5672/%2f/messages"."
from messenger-enqueue-transport.
composer require symfony/amqp-messenger
in my case on Symfony 4.4 -> 5.3 upgrade
from messenger-enqueue-transport.
Related Issues (20)
- [Symfony][4.3] Multienviroment support
- Argument 1 passed to Enqueue\Doctrine\DoctrineConnectionFactoryFactory::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in Container8oM08ig/App_KernelDevDebugContainer.php on line 1027 HOT 2
- How to set serializer on context HOT 5
- Consumption extensions
- Update dependencies for Support Symfony 6.0 HOT 2
- The "failed" receiver does not support listing or showing specific messages
- GPS 'authCache'
- [ActiveMQ][STOMP] Every second message skipped HOT 1
- Option to send to queue when used as `framework:sender` HOT 1
- Consuming multiple Kafka topics
- Add flush($timeout) method optional call for sending messages through Enqueue\RdKafka to make it sync
- How to access the Kafka "key" property when consuming? Or any other Kafka specific metadata? HOT 1
- Symfony 7 support HOT 1
- [Symfony][4.3] MessageBusProcessor
- Symfony framework bundle incompatibility (version >= 4.3.3) HOT 3
- QueueInteropTransport with RabbitMQ and Symfony Serializer does not send stamps
- It's not possible to pass consumer specific options from DSN HOT 6
- Message is not rejected when serializer throws MessageDecodingFailedException
- Communication channels for kafka-related topics
- RdKafkaConsumer subscribes to queue name instead of topic name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from messenger-enqueue-transport.