await/async:assertExchange(exchange,type,[options])
    callback:assertExchange(exchange,type,[options,[function(err,ok){…}]])

    • exchange:???
    • type:???
    • options:
      • durable-[type:bool]-[info:队列是否缓存]
      • internal-[type:bool]-[info:消息是否直接发送到交换器]
      • autoDelete-[type:bool]-[info:queue的数量为0,交换器就会被销毁]
      • alternateExchange-[type:string]-[info:如果交换器无法将消息发送到queue,则将消息发送到此处]
      • arguments-[type:object]-[info:附加参数]