Skip to content

Configuring the CometD Servlet

Lance edited this page May 23, 2013 · 7 revisions

The CometD servlet has been adapted to run under the Tapestry filter so it is not necessary to configure it in web.xml. Any init-params for the servlet can be contributed to the "CometdHttpServletRequestFilter". For the list of available configuration options, see the CometD documentation here

AppModule.java

    public static void contributeCometdHttpServletRequestFilter(MappedConfiguration<String, Object> config) 
    {
        // add init-params for the Cometd servlet here
        config.add("logLevel", "3");
        config.add("timeout", "30000");
    }
Clone this wiki locally