IDEMPIERE-3840 Use web socket for server push. Move websocket serverpush configuration to a separate zk config file.

This commit is contained in:
Heng Sin Low 2019-03-27 20:56:27 +08:00
parent f318aaf854
commit 6265a1bc5c
2 changed files with 13 additions and 4 deletions

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zk>
<!--
zk.xml Copyright (C) 2006 Potix Corporation. All Rights Reserved.
-->
<zk>
<device-config>
<device-type>ajax</device-type>
<server-push-class>org.idempiere.ui.zk.websocket.WebSocketServerPush</server-push-class>
</device-config>
</zk>

View File

@ -61,10 +61,6 @@
<device-type>ajax</device-type> <device-type>ajax</device-type>
<server-push-class>fi.jawsy.jawwa.zk.atmosphere.AtmosphereServerPush</server-push-class> <server-push-class>fi.jawsy.jawwa.zk.atmosphere.AtmosphereServerPush</server-push-class>
</device-config> </device-config>
<!-- device-config>
<device-type>ajax</device-type>
<server-push-class>org.idempiere.ui.zk.websocket.WebSocketServerPush</server-push-class>
</device-config -->
<!-- true for better performance and lower resource usage --> <!-- true for better performance and lower resource usage -->
<system-config> <system-config>