摘要: @Test public void testJmsTemplateByConsumer(){ ApplicationContext ioc = new ClassPathXmlApplicationContext("applicationContext.xml"); JmsTemplate jmsT 阅读全文
posted @ 2020-11-29 22:40 爱编程DE文兄 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 一.applicationContext配置对象 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.or 阅读全文
posted @ 2020-11-29 22:27 爱编程DE文兄 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 使用Broker开启内置MQ服务器: public static void main(String[] args) throws Exception{ BrokerService brokerService = new BrokerService(); //设置占用的端口号 brokerServic 阅读全文
posted @ 2020-11-29 16:36 爱编程DE文兄 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-29 15:48 爱编程DE文兄 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-29 15:19 爱编程DE文兄 阅读(89) 评论(0) 推荐(0) 编辑