|
@@ -22,23 +22,23 @@ old_sound_rabbit_mq:
|
|
|
producers:
|
|
|
flowdat_tasklogger:
|
|
|
connection: default
|
|
|
- exchange_options: {name: 'send', type: direct}
|
|
|
+ exchange_options: {name: 'send', type: topic}
|
|
|
service_alias: fd_tasklogger_service # no alias by default
|
|
|
|
|
|
command_producer:
|
|
|
connection: default
|
|
|
- exchange_options: {name: 'command', type: direct}
|
|
|
+ exchange_options: {name: 'command', type: topic}
|
|
|
service_alias: command_producer_service # no alias by default
|
|
|
|
|
|
consumers:
|
|
|
flowdat_tasklogger:
|
|
|
connection: default
|
|
|
- exchange_options: {name: 'send', type: direct}
|
|
|
+ exchange_options: {name: 'send', type: topic}
|
|
|
queue_options: {name: 'send'}
|
|
|
callback: flowdat_tasklogger_service # sf service id
|
|
|
|
|
|
command_consumer:
|
|
|
connection: default
|
|
|
- exchange_options: {name: 'command', type: direct}
|
|
|
- queue_options: {name: 'command'}
|
|
|
+ exchange_options: {name: 'command', type: topic}
|
|
|
+ queue_options: {name: 'command', routing_keys : ["%env(AMQP_KEY)%"]}
|
|
|
callback: command_consumer_service # sf service id
|