diff --git a/emag-tech-labs/rabbitmq-bundle/2.0/config/packages/old_sound_rabbit_mq.yaml b/emag-tech-labs/rabbitmq-bundle/2.0/config/packages/old_sound_rabbit_mq.yaml new file mode 100644 index 00000000..f1aed699 --- /dev/null +++ b/emag-tech-labs/rabbitmq-bundle/2.0/config/packages/old_sound_rabbit_mq.yaml @@ -0,0 +1,17 @@ +old_sound_rabbit_mq: + connections: + default: + url: '%env(RABBITMQ_URL)%' + vhost: '%env(RABBITMQ_VHOST)%' + lazy: true + 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: false # default false diff --git a/emag-tech-labs/rabbitmq-bundle/2.0/manifest.json b/emag-tech-labs/rabbitmq-bundle/2.0/manifest.json new file mode 100644 index 00000000..de9cbbe8 --- /dev/null +++ b/emag-tech-labs/rabbitmq-bundle/2.0/manifest.json @@ -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": "/" + } +}