[ANN} Concurrent broadcast now supported

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ANN} Concurrent broadcast now supported

Jeanfrancois Arcand

I also added a new feature. By default, when invoking
BroadCaster.boradcast(meg), the calling thread is used to invoke
AtmosphereHandler.onMessage(..). This can be problematic when the
onMessage() blocks and add delays to the remaining
AtmophereHandler.onMessage execution. So now you can configure the
Boradcaster to use an ExecutorService (a thread pool).


That will be used when broadcasting events.


-- Jeanfrancois

BTW, live update every day or so on Twitter.com/atmosphere_java

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]