imponeer / queue-interop-connection-factory-helper

Helper that creates queue-interop connection factory based on DSN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License GitHub release Packagist

Queue-Interop Connection Factory Helper

Helper that creates queue-interop connection factory from DSN string.

Instalation

composer require imponeer/queue-interop-connection-factory-helper

Supported queue-interop libraries

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

Example

use Imponeer\QueueInteropConnectionFactoryHelper;

$context = QueueInteropConnectionFactoryHelper::createContext('file:');

How to contribute?

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.

About

Helper that creates queue-interop connection factory based on DSN

License:MIT License


Languages

Language:PHP 100.0%