Rabbitmq使用优先级队列实现消息插队
摘要// 给队列声明优先级Map<String,Object> args = new HashMap<>();args.put("x-max-priority", 10);channel.queueDeclare("queue_priority", true, false, false, args);// 给消息设置优先级AMQP.BasicProperties properties = new AM