goodow / realtime-channel

分布式消息总线
http://realtimeplayground.goodow.com/bus.html
Apache License 2.0
41 stars 12 forks source link

Do I need the server module? #8

Closed chancharles closed 10 years ago

chancharles commented 10 years ago

Hi, I am learning vert.x and am programming for the iOS. I stumbled upon this code and was wondering about the relationship between this project and vert.x. If I were using the GDChannel client library you provided, do I need to install the corresponding realtime-channel module on the server side?

I actually tried the client library without the server module and it seems to work fine (at least the connect and ping part). So, I am just not too sure about the relationship between realtime-channel and the vert.x's own event bus.

Also, is there any blog posts about this project?

Thanks! Charles

larrytin commented 10 years ago

You should deploy realtime-channel module in vertx application using module identifier com.goodow.realtime~realtime-channel~0.5.5-SNAPSHOT. Or just run realtime-channel independently, see this shell script

chancharles commented 10 years ago

Thanks, what does the module add to the native vert.x event bus implementation?

larrytin commented 10 years ago

For server side, nothing. realtime-channel just reusing the same feature which SockJS EventBus bridge uses.

larrytin commented 10 years ago

See: http://vertx.io/core_manual_java.html#sockjs-eventbus-bridge

chancharles commented 10 years ago

Thanks for the info. On Jun 27, 2014 7:48 AM, "田传武" notifications@github.com wrote:

See: http://vertx.io/core_manual_java.html#sockjs-eventbus-bridge

— Reply to this email directly or view it on GitHub https://github.com/goodow/realtime-channel/issues/8#issuecomment-47334648 .