rabbitmq.yml 594 Bytes
consumer:
     -  address: ${rabbit_common}
        username: ${rabbit_common_user}
        password: ${rabbit_common_password}
        consumers:
              - class: com.yohobuy.platform.grass.mq.AutoAttentionComsumer
                topic: sns.attenGrassUser

producer:
    - address: ${rabbit_common}
      username: ${rabbit_common_user}
      password: ${rabbit_common_password}
      producers:
          - bean: producerCommon

    - address: ${rabbit_order}
      username: ${rabbit_order_user}
      password: ${rabbit_order_password}
      producers:
          - bean: producerHost