
rabbitmq
为天空着色
积跬步,积小流.为而不争
展开
-
HTTPS站点使用sockjs+rabbitmq问题
web页面链接rabbit用了 sockjs.min.js、stomp.jsvar ws = new SockJS('http://xxx.xxx.xxx.xxx:15674/stomp');我的rabbitmq 是没有配证书的,所以在https站点用sockjs链接下报错,如上图解决办法是用服务器代理,比如我用的nginxnginx.conf 中https站点的server 中增加配置location /stomp/ { proxy_pass http://b..原创 2020-06-29 15:28:52 · 1063 阅读 · 2 评论 -
Rabbitmq+php的使用
rabbitmq的安装:https://blog.youkuaiyun.com/u010533511/article/details/90752530php安装amqp扩展1.安装rabbitmq-c下载地址:https://github.com/alanxz/rabbitmq-c/releaseswget -c https://github.com/alanxz/rabbitmq-c/re...原创 2019-06-03 16:05:55 · 3679 阅读 · 0 评论 -
Rabbitmq+sockjs+stomp.js前端的使用
rabbitmq的安装:https://blog.youkuaiyun.com/u010533511/article/details/90752530rabbitmq-user1.html给队列user1发送消息,监听消费队列user2的消息 rabbitmq-user2.html给队列user2发送消息,监听消费队列user1的消息 这样rabbitmq-user1.html和rabbitm...原创 2019-06-04 15:03:00 · 3771 阅读 · 0 评论