From 3a54acfb47be91b561d3882a684bd0bb7042b383 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Baptiste=20Clavi=C3=A9?= Date: Mon, 15 May 2017 17:28:17 +0200 Subject: [PATCH] Add recipe for Wisembly AMQP bundle --- .../1.3/config/packages/wisembly_amqp.yaml | 16 ++++++++++++++++ wisembly/amqp-bundle/1.3/manifest.json | 11 +++++++++++ 2 files changed, 27 insertions(+) create mode 100644 wisembly/amqp-bundle/1.3/config/packages/wisembly_amqp.yaml create mode 100644 wisembly/amqp-bundle/1.3/manifest.json diff --git a/wisembly/amqp-bundle/1.3/config/packages/wisembly_amqp.yaml b/wisembly/amqp-bundle/1.3/config/packages/wisembly_amqp.yaml new file mode 100644 index 00000000..3b347ce0 --- /dev/null +++ b/wisembly/amqp-bundle/1.3/config/packages/wisembly_amqp.yaml @@ -0,0 +1,16 @@ +wisembly_amqp: + console_path: '%kernel.project_dir%/bin/console' + broker: 'oldsound' + 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.3/manifest.json b/wisembly/amqp-bundle/1.3/manifest.json new file mode 100644 index 00000000..411b589c --- /dev/null +++ b/wisembly/amqp-bundle/1.3/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" + } +}