[rabbitmq-discuss] Send HTTP request and get response using RabbitMQ

Ravir Pandey ravir.pandey at commusoft.co.uk
Sat Jan 18 07:12:45 GMT 2014


Hi Michael,

"you can do RPC over RabbitMQ to S and then S can issue HTTP requests."

Like you said as above ?

and i had gone through HTTP management plugin. However i can install
RabbitMQ on my server but my third party API is nothing to do with RabbitMQ
- in that case it is feasible to send HTTP request through HTTP management
plugin? OR Should i create separate service ( S ) to call third party HTTP
API? I mean when i do RPC over rabbitMQ to S and my S will issue HTTP
request?


On Sat, Jan 18, 2014 at 12:00 PM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:

>
> 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
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140118/2e829d33/attachment.html>


More information about the rabbitmq-discuss mailing list