RabbitMQ学习笔记[6]-RabbitMQ消息模型-Routing订阅模型Direct与Topic
一、Routing之订阅模型-DirectWewereusingafanoutexchange,whichdoesn'tgiveusmuchflexibility-it'sonlycapableofmindlessbroadcasting.Wewilluseadirectexchangeinstead.Theroutingalgorithmbehindadirectexchangeissimple