rabbitmq demo project 其中包括 1.点对点模式(一个消息产生者,一个消息消费者 消息到队列中) 2、work模式(一个消息生产者,多个消息消费者,但消费者瓜分所生产的消息(类似于集群))消息发送到队列中 3、发布订阅模式(一个消息生产者,多个消息消费者,各个消费者独自拥有一份消息拷贝)消息发送到交换机中,消费者各自拥有一个队列,队列注册到交换机上 4、路由模式:发布订阅模式的改进,消息生产者发布消息时根据路由key进行选择性发送; 消费者在注册时会带一个routekey,发布者根据这个key进行路由分派 5、Topic模式:路由模式的增强型,路由模式中的key是全字符匹配,在topic模式下改为模糊匹配或通配符匹配(配置更加灵活) 6、spring集成 rabbitmq消息中间件功能 amqp-client spring-rabbimq
airdive / rabbitmq-1 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from guanfl/rabbitmq
rabbitmq demo project