[rabbitmq-discuss] using RabbitMQ JSON RPC channel with C#
Alvaro Videla
videlalvaro at gmail.com
Wed Nov 6 12:08:20 GMT 2013
Hi,
If you need to consume messages via HTTP then the management API offers the
following endpoint: "/api/queues/*vhost*/*name*/get". The page I linked
before explains how to use that API.
Regards,
Alvaro
On Wed, Nov 6, 2013 at 1:02 PM, Alvaro Videla <videlalvaro at gmail.com> wrote:
> Hi,
>
> You can see a basic get example here:
> https://github.com/videlalvaro/php-amqplib/blob/master/demo/basic_get.php#L43
>
> In the case of the HTTP post, you can see the documentation here:
> http://hg.rabbitmq.com/rabbitmq-management/raw-file/rabbitmq_v3_2_0/priv/www/api/index.html
>
> Search for "/api/exchanges/*vhost*/*name*/publish". Based on the
> information there you can build a POST request with your HTTP library of
> choice.
>
> Regards,
>
> Alvaro
>
> On Wed, Nov 6, 2013 at 12:55 PM, Lijo Sebastian <
> lijo at citrusinformatics.com> wrote:
>
>> Can you show me a sample code explaining a basic.get method with a
>> polling.
>>
>> Else a sample publish command with http post.
>>
>>
>>
>>
>>
>> Regards,
>> Lijo Sebastian
>> Senior Software Engineer
>> Citrus Informatics (India) Pvt Ltd.
>> -----Original Message----- From: Michael Klishin
>> Sent: Wednesday, November 06, 2013 4:12 PM
>> To: Discussions about RabbitMQ
>> Subject: Re: [rabbitmq-discuss] using RabbitMQ JSON RPC channel with C#
>>
>>
>> On 6 Nov 2013, at 14:25, Lijo Sebastian <lijo at citrusinformatics.com>
>> wrote:
>>
>> I have a requirement where messages should be published/subscribed over
>>> http, just like the sample chat application works with json_rpc_channel
>>> plugin.
>>> Please guide me through!
>>>
>>
>> You can publish and consume using basic.get (polling) using HTTP API that
>> ships
>> with the management plugin:
>>
>> https://www.rabbitmq.com/management.html
>> http://hg.rabbitmq.com/rabbitmq-management/raw-file/
>> rabbitmq_v3_2_0/priv/www/api/index.html
>>
>> Also, see WebSTOMP and STOMP plugins, they may offer a viable alternative
>> to your needs:
>>
>> http://www.rabbitmq.com/web-stomp.html
>> https://www.rabbitmq.com/stomp.html
>>
>> MK
>>
>> Software Engineer, Pivotal/RabbitMQ
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>> _______________________________________________
>> 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/20131106/9425fa30/attachment.htm>
More information about the rabbitmq-discuss
mailing list