摘要: public class Send { public static final String exchangeName = "topic_logs"; public static void main(String[] args) throws Exception{ Connection connec 阅读全文
posted @ 2017-10-10 14:01 泥猴桃\n 阅读(112) 评论(0) 推荐(0)
摘要: public class Send { public static final String exchange = "direct_log_son"; public static void main(String[] args) throws Exception{ Connection conn = 阅读全文
posted @ 2017-10-10 14:00 泥猴桃\n 阅读(1451) 评论(0) 推荐(0)
摘要: public class Send { public static void main(String[] args) throws Exception{ ConnectionFactory factory = new ConnectionFactory(); factory.setHost("loc 阅读全文
posted @ 2017-10-10 12:01 泥猴桃\n 阅读(103) 评论(0) 推荐(0)
摘要: public class Send { public static final String routingKey = "wuqidi_task_durable"; /*工作队列 也叫任务队列 目的是将任务发送到队列中 由工作者进行处理 在后台的多个工作者中 任务是共享的*/ public stat 阅读全文
posted @ 2017-10-10 12:00 泥猴桃\n 阅读(118) 评论(0) 推荐(0)
摘要: public class Send { public static void main(String[] args) throws Exception{ ConnectionFactory factory = new ConnectionFactory(); factory.setHost("loc 阅读全文
posted @ 2017-10-10 11:50 泥猴桃\n 阅读(81) 评论(0) 推荐(0)