Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  Support for other protocols in RabbitMQ?

Guest
Posted: Tue Oct 02, 2007 7:53 am Reply with quote
Guest
Is there any change that RabbitMQ may support a http REST interface at some point as an alternative for environments that may have some clients that don't have an AMQP client library (and no chance of getting one)?

It would probably increase RabbitMQ's acceptance in some environments. It would probabloy allow RabbitMQ to be used as a Comet server for web browsers too.

Tom

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
alexis
Posted: Tue Oct 02, 2007 7:56 am Reply with quote
User Joined: 06 Sep 2007 Posts: 80 Location: London
Tom

Very much so. This is a feature that quite a few people have
discussed with us. I agree with your observations about the benefits.
It would be good if you could state some of the requirements you
would expect in a REST interface.

Also, we have made an AMQP-over-HTTP protocol binding for RabbitMQ
available, plus Javascript libs for interacting with RabbitMQ over
HTTP. You can find this at the bottom of this web page:
http://www.rabbitmq.com/download.html

alexis



On 10/2/07, Tom Samplonius <tom@samplonius.org> wrote:
>
> Is there any change that RabbitMQ may support a http REST interface at some point as an alternative for environments that may have some clients that don't have an AMQP client library (and no chance of getting one)?
>
> It would probably increase RabbitMQ's acceptance in some environments. It would probabloy allow RabbitMQ to be used as a Comet server for web browsers too.
>
> Tom
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


--
Alexis Richardson
+44 20 7617 7339 (UK)
+44 77 9865 2911 (cell)
+1 650 206 2517 (US)

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message Yahoo Messenger
Guest
Posted: Thu Oct 04, 2007 5:09 am Reply with quote
Guest
Does the AMQP over http support also work with the new Erlang RFC4727 1.10 module that was just released?

Is there any documentation available for AMQP over http other than the sample code? it is a bit hard to follow, in order to interpret Javascript, figure out what it is doing, and then convert it to PHP, just based on two test pages.


----- "Alexis Richardson" <alexis.richardson@cohesiveft.com> wrote:
> Tom
>
> Very much so. This is a feature that quite a few people have
> discussed with us. I agree with your observations about the
> benefits.
> It would be good if you could state some of the requirements you
> would expect in a REST interface.
>
> Also, we have made an AMQP-over-HTTP protocol binding for RabbitMQ
> available, plus Javascript libs for interacting with RabbitMQ over
> HTTP. You can find this at the bottom of this web page:
> http://www.rabbitmq.com/download.html
>
> alexis
>
>
>
> On 10/2/07, Tom Samplonius <tom@samplonius.org> wrote:
> >
> > Is there any change that RabbitMQ may support a http REST
> interface at some point as an alternative for environments that may
> have some clients that don't have an AMQP client library (and no
> chance of getting one)?
> >
> > It would probably increase RabbitMQ's acceptance in some
> environments. It would probabloy allow RabbitMQ to be used as a
> Comet server for web browsers too.
> >
> > Tom
> >
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss@lists.rabbitmq.com
> > http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> >
>
>
> --
> Alexis Richardson
> +44 20 7617 7339 (UK)
> +44 77 9865 2911 (cell)
> +1 650 206 2517 (US)


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
tonyg
Posted: Thu Oct 04, 2007 11:20 am Reply with quote
User Joined: 07 Nov 2006 Posts: 199
Hi Tom,

Tom Samplonius wrote:
> Does the AMQP over http support also work with the new Erlang RFC4727
> 1.10 module that was just released?

Yes, it's built on top of both rfc4627.erl and mod_jsonrpc.erl. It's not
a RESTful mapping, more of an RPC-style mapping - it was the simplest
thing to get working in the time I had available initially.

Interestingly, Javascript's poor support for binary might mandate a
bunch of (as yet unimplemented) hacks for, say, optional base64- or
hex-encoding of published/delivered messages! This strikes me
particularly now that I've just finished wrestling with unicode support
for rfc4627.erl... ("chars are not bytes, chars are not bytes, ...")

> Is there any documentation available for AMQP over http other than
> the sample code? it is a bit hard to follow, in order to interpret
> Javascript, figure out what it is doing, and then convert it to PHP,
> just based on two test pages.

Absolutely, I understand. Unfortunately there isn't at the moment. We
hope to have some progress for you over the next week or two, though.
I'll talk to the guys who are working on the HTTP binding and get back
to you as soon as I have some news.

Regards,
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg@lshift.net

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
View user's profile Send private message MSN Messenger

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum