Helper that creates queue-interop connection factory from DSN string.
composer require imponeer/queue-interop-connection-factory-helper
If you want to use specific transport you must also include related library in your project
Transport | Prefix | Library |
---|---|---|
AMQP | amqp | enqueue/amqp-ext enqueue/amqp-lib enqueue/amqp-bunny |
Beanstalk | beanstalk | enqueue/pheanstalk |
Stomp | stomp | enqueue/stomp |
Amazon Simple Queue Service (SQS) | sqs | enqueue/sqs |
Google PubSub | gps | enqueue/gps |
Apache Kafka | kafka | enqueue/rdkafka |
Redis | redis | enqueue/redis |
MongoDB | mongodb | enqueue/mongodb |
Gearman | gearman | enqueue/gearman |
MySQL | mysql | enqueue/dbal |
File | file | enqueue/fs |
Null | null | enqueue/null |
Wamp | wamp ws |
enqueue/wamp |
use Imponeer\QueueInteropConnectionFactoryHelper;
$context = QueueInteropConnectionFactoryHelper::createContext('file:');
If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial.
If you found any bug or have some questions, use issues tab and write there your questions.