[rabbitmq-discuss] Send HTTP request and get response using RabbitMQ
mcintoshj at gmail.com
Sat Jan 18 06:23:25 GMT 2014
As I think has been stated RabbitMQ is an amqp server. Just like you have web and http servers - http, FTP, amqp are protocols. And amqp is not http nor is it an extension of http. So if you want to publish to a remote system you can have an application running on a web server that uses one of various libraries to publish to rabbit. Then a separate process can read those messages for processing either in sending a call to a remote http API, publishing through FTP or ssh or heck just about any protocol.
I'd highly recommend looking at the fundamentals of tcp/ip, http, FTP and other servers and how they work,
Sent from my iPhone
> On Jan 17, 2014, at 10:51 PM, Ravir Pandey <ravir.pandey at commusoft.co.uk> wrote:
> 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?
>> On Thu, Jan 16, 2014 at 7:45 PM, Michael Klishin <michael.s.klishin at gmail.com> wrote:
>> 2014/1/16 Ravir Pandey <ravir.pandey at commusoft.co.uk>
>>> basically I have my own web application which uses third party API's through which thousand of HTTP request being sent daily. I want to do this through RabbitMQ.
>> So you want a separate service (S) to contact HTTP API on behalf of your Web app? Then you can do RPC over RabbitMQ to S
>> and then S can issue HTTP requests.
>>> Yes mate, i have gone through http://www.rabbitmq.com/getstarted.html. I got some examples but most of the example uses tcp protocol to send messages.
>> RabbitMQ protocol(s) assume TCP. There is no way to do AMQP 0.9.1 over HTTP or MQTT over HTTP.
>> RabbitMQ has HTTP API which is focused on monitoring. You can publish and fetch messages over it but it's not particularly efficient.
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss