Setting Atmosphere settings in Vaadin SpringBootApplication
Solution 1:
Try something like this
@ManagedBean
public class AtmosphereInitializer implements ServletContextInitializer {
@Override
public void onStartup(ServletContext servletContext) {
servletContext.setInitParameter("org.atmosphere.cpr.broadcaster.maxProcessingThreads","2");
servletContext.setInitParameter("org.atmosphere.cpr.broadcaster.shareableThreadPool","true");
...
}
}