摘要:简介RabbitMQ是一个Message Broker,核心思想就是接受消息,转发消息。实现的协议:AMQP。术语(Jargon)P,Producing,制造和发送信息的一方。Queue,消息队列。C,Consuming,接收消息的一方。Simple Demo发送方 ConnectionFactory factory = new ConnectionFactory(); factory.setHost("localhost"); Connection connection = factory.newConnection(); Channel channel = conn.. 阅读全文
posted @ 2014-03-13 20:09 cacard 阅读 (8308) 评论 (1) 编辑