<div dir="ltr"><div><font face="arial, helvetica, sans-serif">Hi,</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><font face="arial, helvetica, sans-serif">You can see a basic get example here: <a href="https://github.com/videlalvaro/php-amqplib/blob/master/demo/basic_get.php#L43">https://github.com/videlalvaro/php-amqplib/blob/master/demo/basic_get.php#L43</a></font><div>
<font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">In the case of the HTTP post, you can see the documentation here: <a href="http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_0/priv/www/api/index.html">http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_0/priv/www/api/index.html</a></font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Search for &quot;<span style="color:rgb(68,68,68)">/api/exchanges/</span><i style="color:rgb(68,68,68)">vhost</i><span style="color:rgb(68,68,68)">/</span><i style="color:rgb(68,68,68)">name</i><span style="color:rgb(68,68,68)">/publish&quot;. Based on the information there you can build a POST request with your HTTP library of choice.</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="color:rgb(68,68,68)"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(68,68,68)">Regards,</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(68,68,68)"><br>
</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(68,68,68)">Alvaro</span></font></div><div class="gmail_extra"><font face="arial, helvetica, sans-serif"><br></font><div class="gmail_quote">
<font face="arial, helvetica, sans-serif">On Wed, Nov 6, 2013 at 12:55 PM, Lijo Sebastian <span dir="ltr">&lt;<a href="mailto:lijo@citrusinformatics.com" target="_blank">lijo@citrusinformatics.com</a>&gt;</span> wrote:<br>
</font><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="arial, helvetica, sans-serif">Can you show me a sample code explaining a basic.get method with a polling.<br>

<br>
Else a sample publish command with http post.</font><div class="im"><font face="arial, helvetica, sans-serif"><br>
<br>
<br>
<br>
<br>
Regards,<br>
Lijo Sebastian<br>
Senior Software Engineer<br>
Citrus Informatics (India) Pvt Ltd.<br></font></div><font face="arial, helvetica, sans-serif">
-----Original Message----- From: Michael Klishin<br>
Sent: Wednesday, November 06, 2013 4:12 PM<br>
To: Discussions about RabbitMQ<br>
Subject: Re: [rabbitmq-discuss] using RabbitMQ JSON RPC channel with C#</font><div class="HOEnZb"><div class="h5"><font face="arial, helvetica, sans-serif"><br>
<br>
On 6 Nov 2013, at 14:25, Lijo Sebastian &lt;<a href="mailto:lijo@citrusinformatics.com" target="_blank">lijo@citrusinformatics.com</a>&gt; wrote:<br>
<br>
</font><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="arial, helvetica, sans-serif">
I have a requirement where messages should be published/subscribed over http, just like the sample chat application works with json_rpc_channel plugin.<br>
Please guide me through!<br>
</font></blockquote>
<font face="arial, helvetica, sans-serif"><br>
You can publish and consume using basic.get (polling) using HTTP API that ships<br>
with the management plugin:<br>
<br>
<a href="https://www.rabbitmq.com/management.html" target="_blank">https://www.rabbitmq.com/<u></u>management.html</a><br>
<a href="http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_0/priv/www/api/index.html" target="_blank">http://hg.rabbitmq.com/<u></u>rabbitmq-management/raw-file/<u></u>rabbitmq_v3_2_0/priv/www/api/<u></u>index.html</a><br>

<br>
Also, see WebSTOMP and STOMP plugins, they may offer a viable alternative to your needs:<br>
<br>
<a href="http://www.rabbitmq.com/web-stomp.html" target="_blank">http://www.rabbitmq.com/web-<u></u>stomp.html</a><br>
<a href="https://www.rabbitmq.com/stomp.html" target="_blank">https://www.rabbitmq.com/<u></u>stomp.html</a><br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a> <br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</font></div></div></blockquote></div><br></div></div>