Browse Source

Use UUIDBroadcasterCache (#13514)

Change-Id: I63c2d5886507281a9dfe219dea46dc5067ffa4e3
tags/7.2.0.beta1
Artur Signell 10 years ago
parent
commit
25bc908961

+ 3
- 0
server/src/com/vaadin/server/communication/PushRequestHandler.java View File

@@ -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,

Loading…
Cancel
Save