Open glebfox opened 5 months ago
To change Push transport the custom AppUI class must be created. To do this:
@Push(transport = Transport.LONG_POLLING)
public class CustomAppUI extends AppUI {
}
Register this bean
@Bean
public AppUI customAppUI() {
return new CustomAppUI();
}
Exclude built-in AppUI class in application.properties
:
jmix.core.exclude-beans = appUI
In CUBA we have cuba.web.pushLongPolling that enables switching to long polling instead of WebSocket for server push implementation.
Currently, there is no alternative for Jmix and it's hard to change Push transport