diff options
author | Artur Signell <artur@vaadin.com> | 2014-03-31 17:24:43 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-04-01 06:52:25 +0000 |
commit | 25bc9089614c959f5bb97fce174407eef537044b (patch) | |
tree | 2d9e34f74600c59dabd5d1134409f22248602ec2 /server/src/com | |
parent | a62f17de3e012751993a6869fef24cd20a1d504f (diff) | |
download | vaadin-framework-25bc9089614c959f5bb97fce174407eef537044b.tar.gz vaadin-framework-25bc9089614c959f5bb97fce174407eef537044b.zip |
Use UUIDBroadcasterCache (#13514)
Change-Id: I63c2d5886507281a9dfe219dea46dc5067ffa4e3
Diffstat (limited to 'server/src/com')
-rw-r--r-- | server/src/com/vaadin/server/communication/PushRequestHandler.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/communication/PushRequestHandler.java b/server/src/com/vaadin/server/communication/PushRequestHandler.java index c078b328d1..7ac4c0e406 100644 --- a/server/src/com/vaadin/server/communication/PushRequestHandler.java +++ b/server/src/com/vaadin/server/communication/PushRequestHandler.java @@ -21,6 +21,7 @@ import java.io.IOException; import javax.servlet.ServletConfig; import javax.servlet.ServletException; +import org.atmosphere.cache.UUIDBroadcasterCache; import org.atmosphere.client.TrackMessageSizeInterceptor; import org.atmosphere.cpr.ApplicationConfig; import org.atmosphere.cpr.AtmosphereFramework; @@ -86,6 +87,8 @@ public class PushRequestHandler implements RequestHandler, pushHandler = new PushHandler(service); atmosphere.addAtmosphereHandler("/*", pushHandler.handler); + atmosphere.addInitParameter(ApplicationConfig.BROADCASTER_CACHE, + UUIDBroadcasterCache.class.getName()); atmosphere.addInitParameter(ApplicationConfig.PROPERTY_SESSION_SUPPORT, "true"); atmosphere.addInitParameter(ApplicationConfig.MESSAGE_DELIMITER, |