rabbitmq / rabbit-socks

Websocket and Socket.IO support for RabbitMQ (deprecated -- see https://github.com/sockjs/sockjs-erlang instead)
http://www.rabbitmq.com/
Other
58 stars 6 forks source link

rabbitmq-stomp version #3

Open si14 opened 13 years ago

si14 commented 13 years ago

Hello, guys. What version of rabbitmq-stomp are you using? As you can see here https://github.com/rabbitmq/rabbitmq-stomp/commit/cbc4b442e6c808cb6e145971a130df063c2d9799#src/rabbit_stomp_processor.erl rabbitmq-stomp is using gen_server2 now, and you https://github.com/rabbitmq/rabbit-socks/blob/master/src/rabbit_socks_stomp.erl#L18 are calling start_link with gen_server:start_link (why would anyone do this??). In fact rabbit-socks doesn't work with current rabbitmq-stomp.

squaremo commented 13 years ago

You are right, rabbit-socks does not work with current rabbitmq-stomp, and was working with a branch in any case. I removed the claim of integration with STOMP from the README recently (there were other things that were out of date).

This leaves the status of rabbit-socks rather moot -- we use it for a project that's not yet open sourced, and otherwise it is up to other plugins to provide the "subprotocol".

You may be interested in socketio-erlang, of which I have a branch in which I'm adding a mochiweb adapter (which will allow it to run under rabbitmq-mochiweb, among other things).

squaremo commented 13 years ago

I should also say that it wouldn't be a lot of work to get it to work with rabbitmq-stomp, so it may yet happen (again).