原文地址:http://blog.csdn.net/sdyy321/article/details/9241445 本文不介绍amqp和rabbitmq相关知识,请自行网上查阅 本文是基于spring-rabbit中间件来实现消息的发送接受功能 see http://www.rabbitmq.com/tutorials/tutorial-one-Java.html see http://www.springsource.org/spring-amqp <!-- for rabbitmq -->…