<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi Michael,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">"you can do RPC over RabbitMQ to S and then S can issue HTTP requests."</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Like you said as above ? </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>
<div style="font-family:arial,sans-serif;font-size:13px">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?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jan 18, 2014 at 12:00 PM, Michael Klishin <span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im"><br><div class="gmail_quote">2014/1/18 Ravir Pandey <span dir="ltr"><<a href="mailto:ravir.pandey@commusoft.co.uk" target="_blank">ravir.pandey@commusoft.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>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.</div><div><br>
</div><div>Is this possible?</div></blockquote></div><br></div>You can publish a message over HTTP API that comes with the management plugin [1].<br><br clear="all"><div>However, you can only consume messages over HTTP via polling.</div>
<div><br></div><div><a href="http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_2/priv/www/api/index.html" target="_blank">http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_2/priv/www/api/index.html</a><br>
</div><div><br></div><div>A separate process that communicates with your Web app over RabbitMQ's other protocols</div><div>will yield better throughput and likely will result in code that's more to the point.</div>
<div class="im">
-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>