[rabbitmq-discuss] Send HTTP request and get response using RabbitMQ
Michael Klishin
michael.s.klishin at gmail.com
Sat Jan 18 06:30:18 GMT 2014
2014/1/18 Ravir Pandey <ravir.pandey at commusoft.co.uk>
> All HTTP request willl be in RabbitMQ -> Put all request in queue -> Queue
> get processed ( HTTP request to third party API through RabbitMQ ) -> Get
> response through RabbitMQ only.
>
> Is this possible?
>
You can publish a message over HTTP API that comes with the management
plugin [1].
However, you can only consume messages over HTTP via polling.
http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_2/priv/www/api/index.html
A separate process that communicates with your Web app over RabbitMQ's
other protocols
will yield better throughput and likely will result in code that's more to
the point.
--
MK
http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140118/b59c1fff/attachment.html>
More information about the rabbitmq-discuss
mailing list