Download the PHP package aztech/event-bus-extra-amqp without Composer
On this page you can find all versions of the php package aztech/event-bus-extra-amqp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package event-bus-extra-amqp
aztech/event-bus-extra-amqp
Build status
Stability
Installation
Via Composer
Composer is the only supported way of installing aztech/event-bus-extra-amqp . Don't know Composer yet ? Read more about it.
$ composer require "aztech/event-bus-extra-amqp":"~1"
Autoloading
Add the following code to your bootstrap file :
Dependencies
- videlalvaro/php-amqplib : ~2
Supported elements :
- Persistent publish
- Subscribe
Configuration options & defaults
Parameter | Default | Description |
---|---|---|
host |
127.0.0.1 |
Hostname of the AMQP broker. |
port |
5672 |
Listening port of the AMQP broker. |
user |
guest |
AMQP broker username. |
pass |
guest |
AMQP broker password. |
vhost |
/ |
Virtual host name on the AMQP broker. |
exchange |
exchange |
Name of the exchange. |
event-queue |
event-queue |
Name of the event queue. |
event-prefix |
|
Prefix that will be automatically added to published/stripped from received event topics. |
auto-create |
true |
Toggles the providers topology creation feature. Allows to auto-create the required exchanges, queues, and bindings for the provider's need. |
Initialization
Caveats
At the time being, the AMQP event plugin uses topic based routing to publish events. Multiple nodes connecting to a single queue will work in round-robin mode.
It is possible to use different routing scenarios/exchange types, but that is left as an exercise to the reader (Hint: no need to build/patch the current plugin).
All versions of event-bus-extra-amqp with dependencies
aztech/php-utils Version ~0
videlalvaro/php-amqplib Version ~2
psr/log Version ~1.0