Added Symfony recipe for eMAGTechLabs/RabbitMqBundle

This commit is contained in:
andreea_cojocaru
2020-09-29 18:06:15 +03:00
parent 212b5c5b55
commit 23771c725e
2 changed files with 29 additions and 0 deletions
@@ -0,0 +1,17 @@
old_sound_rabbit_mq:
connections:
default:
url: '%env(RABBITMQ_URL)%'
vhost: '%env(RABBITMQ_VHOST)%'
lazy: false
connection_timeout: 3
read_write_timeout: 3
# requires php-amqplib v2.4.1+ and PHP5.4+
keepalive: false
# requires php-amqplib v2.4.1+
heartbeat: 0
#requires php_sockets.dll
use_socket: true # default false
+12
View File
@@ -0,0 +1,12 @@
{
"bundles": {
"OldSound\\RabbitMqBundle\\OldSoundRabbitMqBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"RABBITMQ_URL": "amqp://guest:guest@localhost:5672",
"RABBITMQ_VHOST": "/"
}
}