[rabbitmq-discuss] Websocket protocol plugin

Tony Garnock-Jones tonyg at rabbitmq.com
Fri Sep 10 03:28:07 BST 2010


On 09/09/2010 21:58, James Carr wrote:
> I think I'll take a stab at writing my first rabbitmq plugin and see
> if I can get STOMP working over websockets. Any suggestions on where
> to start?

Get websockets working in Erlang first; then get websockets working as a
RabbitMQ plugin generally; then munge rabbitmq-stomp to make use of the
websocket support you've built (if it's present). Each of those steps will be
interesting and valuable, is my guess :-)

If you get one or two steps in, it'd be fun to see if
http://github.com/tonyg/erlang-rfc4627 could be updated to speak JSON-RPC over
websockets (perhaps even with new-fangled JSON-RPC notifications!). (Actually
that reminds me it'd be cool to have JSON-RPC run over raw TCP, too.)

Note to get STOMP to run at all with the current default checkouts you'll need
the rabbitmq-stomp patch I sent through the other day, currently residing in hg
on branch bug23231 and not yet merged into default (ping, mikeb! ;-) ).

Regards,
  Tony


More information about the rabbitmq-discuss mailing list