Bläddra i källkod

updated amqp config

Luciano Andrade 7 år sedan
förälder
incheckning
f858f2e660
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      Resources/config/rabbit_mq/config.yml

+ 3 - 1
Resources/config/rabbit_mq/config.yml

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