摘要: Remote procedure call (RPC)(using the Java client)PrerequisitesThis tutorial assumes RabbitMQ is installed and running on localhost on... 阅读全文
posted @ 2017-04-23 19:21 键盘手小陈 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Topics (using the Java client)In the previous tutorial we improved our logging system. Instead of using a fanout exchange only capable... 阅读全文
posted @ 2017-04-23 19:19 键盘手小陈 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Routing 路由模式 (using the Java client)In the previous tutorial we built a simple logging system. We were able to broadcast log messag... 阅读全文
posted @ 2017-04-23 19:17 键盘手小陈 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Publish/Subscribe 订阅模式 (using the Java Client)In the previous tutorial we created a work queue. The assumption behind a work queue is... 阅读全文
posted @ 2017-04-23 19:16 键盘手小陈 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Work Queues (using the Java Client)In the first tutorial we wrote programs to send and receive messages from a named queue. In this on... 阅读全文
posted @ 2017-04-23 19:14 键盘手小陈 阅读(220) 评论(0) 推荐(0) 编辑
摘要: IntroductionPrerequisites(先决条件)This tutorial assumes RabbitMQ is installed and running on localhost on standard port (5672). In c... 阅读全文
posted @ 2017-04-23 18:57 键盘手小陈 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 1. 在这里不提如何集成rabbit mq到spring。2. 实现功能的配置都在消费者端:3. 下面是步骤和说明(1)在消费者端的mq配置文件上添加,配置 关键代码为 acknowledeg = "manual",意为表示该消费者的ack方式为手动(此时的queu... 阅读全文
posted @ 2017-04-23 14:48 键盘手小陈 阅读(1999) 评论(0) 推荐(0) 编辑
摘要: 1.什么是RabbitMQ官网:http://www.rabbitmq.com RabbitMQ是流行的开源消息队列系统,用erlang语言开发。RabbitMQ是AMQP(高级消息队列协议)的标准实现 MQ全称为Message Queue, 消息队... 阅读全文
posted @ 2017-04-23 14:15 键盘手小陈 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Java中的HashMap使用散列来高效的查找和存储值。HashMap内部使用Map.Entry的形式来保存key和value, 使用put(key,value)方法存储值,使用get(key)方法查找值。理解hashCode()Java中的hashCode()方法,... 阅读全文
posted @ 2017-04-23 00:40 键盘手小陈 阅读(197) 评论(0) 推荐(0) 编辑