SpringBoot - 学习笔记 - 整合RabbitMQ
发布日期:2021-06-30 14:54:00 浏览次数:2 分类:技术文章

本文共 2271 字,大约阅读时间需要 7 分钟。

SpringBoot - 学习笔记 - 整合RabbitMQ

直接上代码

在这里插入图片描述

Postman

导入RabbitMQ.postman_collection.json即可。方便调试

{
"info": {
"_postman_id": "c682bc1d-ef0a-4d85-97f2-a96ef7753606", "name": "RabbitMQ", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ {
"name": "简单模式 simple", "request": {
"method": "GET", "header": [], "url": {
"raw": "http://127.0.0.1:8080/simple", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8080", "path": [ "simple" ] } }, "response": [] }, {
"name": "工作模式 work", "request": {
"method": "GET", "header": [], "url": {
"raw": "http://127.0.0.1:8080/work", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8080", "path": [ "work" ], "query": [ {
"key": "msg", "value": "", "disabled": true } ] } }, "response": [] }, {
"name": "广播模式 fanot", "request": {
"method": "GET", "header": [], "url": {
"raw": "http://127.0.0.1:8080/fanot", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8080", "path": [ "fanot" ], "query": [ {
"key": "msg", "value": "", "disabled": true } ] } }, "response": [] }, {
"name": "定向模式 direct", "request": {
"method": "GET", "header": [], "url": {
"raw": "http://127.0.0.1:8080/direct", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8080", "path": [ "direct" ], "query": [ {
"key": "msg", "value": "", "disabled": true } ] } }, "response": [] }, {
"name": "通配模式 topic", "request": {
"method": "GET", "header": [], "url": {
"raw": "http://127.0.0.1:8080/topic", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8080", "path": [ "topic" ], "query": [ {
"key": "msg", "value": "", "disabled": true } ] } }, "response": [] } ]}

参考资料

转载地址:https://jerryjin.blog.csdn.net/article/details/114780840 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Spring 学习笔记 - Spring Expression Language (SpEL) 表达式
下一篇:Mouse without Borders 微软无界鼠标

发表评论

最新留言

关注你微信了!
[***.104.42.241]2024年04月21日 23时50分55秒