rabbitmq.yml 693 Bytes
consumer:
 -  address: ${rabbit_message_center}
    username: ${rabbit_message_center_user}
    password: ${rabbit_message_center_password}
    vhost: ${rabbit_message_center_vhost}
    consumers:
           - class: com.yoho.yhmessage.inbox.mq.InBoxBatchMqListerner
             topic: msgcenter.inner.inbox

           - class: com.yoho.yhmessage.sms.consumer.MsgCenterSmsByMobileMqListener
             topic: msgcenter.inner.sms.bymobile

           - class: com.yoho.yhmessage.sms.consumer.MsgCenterSmsByUidMqListener
             topic: msgcenter.inner.sms.byuid

           - class: com.yoho.yhmessage.wechat.consumer.MsgCenterWechatMqListener
             topic: msgcenter.inner.wechat