REST API for rabbitmq(rabbitmq 的 REST API)
问题描述
有没有办法让我从 $.ajax 向 RabbitMQ 发送数据?
Is there a way how can I send data to RabbitMQ from $.ajax?
我的应用程序由数千个 Web 客户端(用 js 编写)和 WCF REST 服务组成,现在我想弄清楚如何为我的应用程序创建一个可扩展的点.这个想法是有一个 rabbitmq 实例,它从一侧接收来自 js 客户端的消息,以及从队列中获取待处理消息的 WCF 工作流服务实例.
My application is made up of several thousands web-clients (written on js) and WCF REST service and now I am trying to figure out how can I create a scalable point for my application. The idea is to have a rabbitmq instance which receives messages from js clients placed on one side, and instances of WCF Workflow Services which are taking pending messages from the queue.
我知道 AMQP 和 HTTP 是完全不同的东西.
I understand that AMQP and HTTP is pretty different things.
所以问题是 - 是否有用于 rabbit mq 的 REST 接口或某种网关
So the question is - is there a REST interface for rabbit mq or some sort of gateway for it
推荐答案
RabbitMQ 开发者工具页面,他们还提供了一个实验性 JSON-RPC 插件 允许 AMQP over HTTP 访问.
There are lots of 3rd-party HTTP plugins listed on RabbitMQ's developer tools page, and they also offer an experimental JSON-RPC plugin that allows for AMQP over HTTP access.
您还应该看看 RabbitJS 和 SockJS 看看 Rabbit 团队是什么分别将消息传递到 node.js 和 WebSockets 的世界.
You should also take a look at RabbitJS and SockJS to see what the Rabbit team is doing to bring messaging to the worlds of node.js and WebSockets, respectively.
这篇关于rabbitmq 的 REST API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:rabbitmq 的 REST API
基础教程推荐
- .NET SerialPort DataReceived 事件未触发 2022-01-01
- Moq It.Is<>不匹配 2022-01-01
- C# 从 List<List<int>> 中删除重 2022-01-01
- Azure Functions:CosmosDBTrigger 未在 Visual Studio 中触发 2022-01-01
- 如何使用 .Net 检查 Active Directory 服务器是否已启动并正在运行? 2022-01-01
- 禁止输入少量字符,例如'<'、'&a 2022-01-01
- 我应该在后面的代码中直接使用 Linq To SQL 还是使 2022-01-01
- 如果有人提交恶意软件Nuget包怎么办? 2022-01-01
- 当值可以是对象或空数组时反序列化 JSON 2022-01-01
- WPF 模态进度窗口 2022-01-01
