mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Add recipe for Wisembly AMQP bundle
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Wisembly\\AmqpBundle\\WisemblyAmqpBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"AMQP_URL": "amqp://guest:guest@localhost:5672"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user