Skip to content

Commit 50d1f34

Browse files
authored
Merge pull request symfony#20 from yceruto/rabbitmq_bundle
2 parents b165dcd + 70332ee commit 50d1f34

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
old_sound_rabbit_mq:
2+
connections:
3+
default:
4+
url: '%env(RABBITMQ_URL)%'
5+
# producers:
6+
# # use 'old_sound_rabbit_mq.task_producer' service to send data.
7+
# task:
8+
# connection: default
9+
# exchange_options: { name: 'task', type: direct }
10+
# consumers:
11+
# task:
12+
# connection: default
13+
# exchange_options: { name: 'task', type: direct }
14+
# queue_options: { name: 'task'}
15+
# callback: App\Consumer\TaskConsumer
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"bundles": {
3+
"OldSound\\RabbitMqBundle\\OldSoundRabbitMqBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"etc/": "%ETC_DIR%/",
7+
"src/": "%SRC_DIR%/"
8+
},
9+
"env": {
10+
"RABBITMQ_URL": "amqp://guest:guest@localhost:5672"
11+
}
12+
}

php-amqplib/rabbitmq-bundle/1.12/src/Consumer/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)