【文件属性】:
文件名称:ngx-stomp:STOMP是nginx上的STOMP上游模块,是简单(或流式)面向文本的消息协议
文件大小:103KB
文件格式:ZIP
更新时间:2021-05-13 14:59:17
nginx stompclient mq C
ngx-stomp
是nginx上的STOMP上游模块,是简单(或流式)面向文本的消息传递协议。
目录
介绍
ngx-stomp是一个nginx第三方模块,它允许使用给定的预定义/动态帧将http请求和代理发送到stomp amqp协议服务器。
用法
0.设置脚踏上游和已订阅队列
# nginx.conf
upstream stomp {
stomp_subscribes /amq/queue/stompqueue;
stomp_endpoint 127.0.0.1:61618 login=guest passcode=guest max_send_sess=3 max_recv_sess=3;
}
1.简单的create stomp frame命令,
# nginx.conf
server {
....
location
【文件预览】:
ngx-stomp-master
----t()
--------001-ngx-stomp-full-test.t(2KB)
--------002-ngx-stomp-full-test-with-session.t(2KB)
----LICENSE(1KB)
----ngx_http_stomp_module.h(3KB)
----5recv-10send.png(49KB)
----1recv-3send.png(48KB)
----README.md(7KB)
----config(2KB)
----ngx_http_stomp_module.c(62KB)