上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 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 键盘手小陈 阅读(324) 评论(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 键盘手小陈 阅读(268) 评论(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 键盘手小陈 阅读(239) 评论(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 键盘手小陈 阅读(316) 评论(0) 推荐(0)
摘要: 1. 在这里不提如何集成rabbit mq到spring。2. 实现功能的配置都在消费者端:3. 下面是步骤和说明(1)在消费者端的mq配置文件上添加,配置 关键代码为 acknowledeg = "manual",意为表示该消费者的ack方式为手动(此时的queu... 阅读全文
posted @ 2017-04-23 14:48 键盘手小陈 阅读(2034) 评论(0) 推荐(0)
摘要: 1.什么是RabbitMQ官网:http://www.rabbitmq.com RabbitMQ是流行的开源消息队列系统,用erlang语言开发。RabbitMQ是AMQP(高级消息队列协议)的标准实现 MQ全称为Message Queue, 消息队... 阅读全文
posted @ 2017-04-23 14:15 键盘手小陈 阅读(167) 评论(0) 推荐(0)
摘要: Java中的HashMap使用散列来高效的查找和存储值。HashMap内部使用Map.Entry的形式来保存key和value, 使用put(key,value)方法存储值,使用get(key)方法查找值。理解hashCode()Java中的hashCode()方法,... 阅读全文
posted @ 2017-04-23 00:40 键盘手小陈 阅读(206) 评论(0) 推荐(0)
摘要: 1.如果要插入数据的表的主键字段有自增的规则示例: INSERT into(studentName,phone,birth) VALUE (#{studentName},#{phone},#{birth});用法: ... 阅读全文
posted @ 2017-04-21 16:26 键盘手小陈 阅读(1769) 评论(0) 推荐(0)
摘要: 需求:自动关闭2天前的订单定时执行的任务bean package com.taotao.store.order.job;import org.joda.time.DateTime;import org.quartz.JobExecutionContext;import... 阅读全文
posted @ 2017-04-20 22:23 键盘手小陈 阅读(183) 评论(0) 推荐(0)
摘要: 1、@Controller在SpringMVC 中,控制器Controller 负责处理由DispatcherServlet 分发的请求,它把用户请求的数据经过业务处理层处理之后封装成一个Model ,然后再把该Model 返回给对应的View 进行展示。在Sprin... 阅读全文
posted @ 2017-04-19 12:08 键盘手小陈 阅读(150) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页