From ae6e77a54578f661ef28a4c61aeb491e58d11d3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Baptiste=20Clavi=C3=A9?= Date: Wed, 13 Dec 2017 16:10:12 +0100 Subject: [PATCH] Add Wisembly AmqpBundle 1.4 configuration --- .../1.4/config/packages/wisembly_amqp.yaml | 16 ++++++++++++++++ wisembly/amqp-bundle/1.4/manifest.json | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 wisembly/amqp-bundle/1.4/config/packages/wisembly_amqp.yaml create mode 100644 wisembly/amqp-bundle/1.4/manifest.json diff --git a/wisembly/amqp-bundle/1.4/config/packages/wisembly_amqp.yaml b/wisembly/amqp-bundle/1.4/config/packages/wisembly_amqp.yaml new file mode 100644 index 00000000..d193abd6 --- /dev/null +++ b/wisembly/amqp-bundle/1.4/config/packages/wisembly_amqp.yaml @@ -0,0 +1,16 @@ +wisembly_amqp: + console_path: '%kernel.project_dir%/bin/console' + broker: 'Wisembly\AmqpBundle\Broker\PhpAmqpLibBroker' + connections: + default: '%env(AMQP_URL)%' + gates: + # here you should declare all your "gates", which are the cornerstone + # of this amqp bundle. + # + # For each gates declares which queue and which exchange it should + # communicate with, if these should be auto_declared, which connection + # it should use, ... and so on. + acme: + auto_declare: true + queue: acme_queue + exchange: acme_exchange diff --git a/wisembly/amqp-bundle/1.4/manifest.json b/wisembly/amqp-bundle/1.4/manifest.json new file mode 100644 index 00000000..411b589c --- /dev/null +++ b/wisembly/amqp-bundle/1.4/manifest.json @@ -0,0 +1,11 @@ +{ + "bundles": { + "Wisembly\\AmqpBundle\\WisemblyAmqpBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "AMQP_URL": "amqp://guest:guest@localhost:5672" + } +}