spring集成rabbitMq(基于direct、topic和fanout模式)

上传者: ye347478640 | 上传时间: 2019-12-21 22:10:13 | 文件大小: 96KB | 文件类型: zip
spring集成rabbitMq(基于direct、topic和fanout模式),包括main方法,5种情景,一天总结运行

文件下载

资源详情

[{"title":"( 97 个子文件 96KB ) spring集成rabbitMq(基于direct、topic和fanout模式)","children":[{"title":"testRabbitMQ","children":[{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"spring","children":[{"title":"exchange","children":[{"title":"direct","children":[{"title":"DirectListener2.java <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"ProducerMain.java <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"Spittle.java <span style='color:#111;'> 675B </span>","children":null,"spread":false},{"title":"ConsumerMain.java <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"DirectListener1.java <span style='color:#111;'> 538B </span>","children":null,"spread":false}],"spread":true},{"title":"topic","children":[{"title":"ProducerMain.java <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"ConsumerMain.java <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"TopicListener2.java <span style='color:#111;'> 535B </span>","children":null,"spread":false},{"title":"TopicListener1.java <span style='color:#111;'> 535B </span>","children":null,"spread":false}],"spread":true},{"title":"fanout","children":[{"title":"ProducerMain.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"ConsumerMain.java <span style='color:#111;'> 353B </span>","children":null,"spread":false},{"title":"FanoutListener2.java <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"FanoutListener1.java <span style='color:#111;'> 538B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"queue","children":[{"title":"Customer.java <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Producer.java <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"onetomany","children":[{"title":"Work.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"NewTask.java <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"onetoone","children":[{"title":"Send.java <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"Recv.java <span style='color:#111;'> 997B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"exchange","children":[{"title":"direct","children":[{"title":"ReceiveLogsDirect2.java <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"RoutingSendDirect.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"ReceiveLogsDirect1.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":true},{"title":"Topics","children":[{"title":"TopicSend.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"ReceiveLogsTopic2.java <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"ReceiveLogsTopic1.java <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"fanout","children":[{"title":"EmitLog.java <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"ReceiveLogs1.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"rpc","children":[{"title":"RPCClient.java <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"RPCServer.java <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 243B </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"classes","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 107B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"com","children":[{"title":"testRabbitMQ","children":[{"title":"pom.properties <span style='color:#111;'> 240B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"spring","children":[{"title":"exchange","children":[{"title":"direct","children":[{"title":"ConsumerMain.class <span style='color:#111;'> 649B </span>","children":null,"spread":false},{"title":"DirectListener1.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"ProducerMain.class <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"DirectListener2.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"Spittle.class <span style='color:#111;'> 935B </span>","children":null,"spread":false}],"spread":true},{"title":"topic","children":[{"title":"ConsumerMain.class <span style='color:#111;'> 646B </span>","children":null,"spread":false},{"title":"ProducerMain.class <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"TopicListener2.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"TopicListener1.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"fanout","children":[{"title":"ConsumerMain.class <span style='color:#111;'> 649B </span>","children":null,"spread":false},{"title":"FanoutListener2.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"ProducerMain.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"FanoutListener1.class <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"queue","children":[{"title":"Customer$1.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"Customer.class <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"Producer.class <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"onetomany","children":[{"title":"NewTask.class <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"Work.class <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"onetoone","children":[{"title":"Recv.class <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"Send.class <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"exchange","children":[{"title":"direct","children":[{"title":"ReceiveLogsDirect2$1.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"ReceiveLogsDirect1.class <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"ReceiveLogsDirect1$1.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"RoutingSendDirect.class <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"ReceiveLogsDirect2.class <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"Topics","children":[{"title":"TopicSend.class <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false},{"title":"ReceiveLogsTopic2.class <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"ReceiveLogsTopic2$1.class <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"ReceiveLogsTopic1$1.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"ReceiveLogsTopic1.class <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"fanout","children":[{"title":"ReceiveLogs1$1.class <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"ReceiveLogs1.class <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"EmitLog.class <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"rpc","children":[{"title":"RPCClient.class <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"RPCServer.class <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"direct","children":[{"title":"customer.xml <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"topic","children":[{"title":"customer.xml <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"fanout","children":[{"title":"customer.xml <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"error","children":[{"title":"customer.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 889B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"test-classes","children":null,"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"direct","children":[{"title":"customer.xml <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"topic","children":[{"title":"customer.xml <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"fanout","children":[{"title":"customer.xml <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 991B </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"error","children":[{"title":"customer.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"common.xml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"producer.xml <span style='color:#111;'> 889B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 苦涩2014 :
    不错 可以看。谢谢
    2018-09-06
  • java_人生 :
    不错,值得推荐。
    2018-05-30
  • 六六六小哥 :
    感谢分享,很不错
    2017-11-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明