rabbitmq.yml 689 Bytes
consumer:
  - address: ${rabbit_common_aws}
    username: ${rabbit_common_aws_user}
    password: ${rabbit_common_aws_password}
    consumers:
      - class: com.yoho.unions.server.mqconsumer.ArticlePushConsumer
        topic: guang.article_push

      - class: com.yoho.unions.server.mqconsumer.OrderPushConsumer
        topic: union.order_push
        
  - address: ${rabbit_common_qq}
    username: ${rabbit_common_qq_user}
    password: ${rabbit_common_qq_password}
    consumers:
      - class: com.yoho.unions.server.mqconsumer.ArticlePushConsumer
        topic: guang.article_push

      - class: com.yoho.unions.server.mqconsumer.OrderPushConsumer
        topic: union.order_push