rabbitmq.yml 1.16 KB
consumer:
 -  address: ${rabbit_common}
    username: ${rabbit_common_user}
    password: ${rabbit_common_password}
    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

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

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


producer:
   -   address: ${rabbit_common}
       username: ${rabbit_common_user}
       password: ${rabbit_common_password}
       producers:
                 - bean: yhProducer
                   async:  true
                   trace:  false
                   confirm:  true
                   persistent:  false