Search code examples
.netwcfrestrabbitmqamqp

REST API for rabbitmq


Is there a way how can I send data to RabbitMQ from $.ajax?

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.

I understand that AMQP and HTTP is pretty different things.

So the question is - is there a REST interface for rabbit mq or some sort of gateway for it


Solution

  • 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.

    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.