CometD Plugin
Dependency :
compile ":cometd:0.2.2"
Summary
Installation
Description
CometD Plugin
CometD is a scalable HTTP-based event routing bus that uses an Ajax Push technology pattern known as Comet.This plugin allows your Grails application to send asynchronous notifications to HTTP clients using CometD and the Bayeux protocol.Usage
CometD Servlet
The plugin configures a CometdServlet, mapped to the pathcometd relative to your web application's context path.Bayeux Service
A bean namedbayeux is made available to your application. It is an instance of BayeuxServer. This is used to interact with the Comet server.Configuration
The plugin is configured in Config.groovy, with options prefixed with "plugins.cometd". The following options are defined:- continuationFilter.disable: if set, do not install the to ContinuationFilter
Development
The plugin sources are on GitHub:git clone git://github.com/marcusb/grails-cometd.git
Further information
see http://metasieve.wordpress.com/2010/08/25/using-cometd-2-x-with-grails/ for an example as to how to use CometD 2.x with Grails and this plugin.History
Version 0.2.2
- Support for Grails 1.2.1 and later.
- Update to CometD 2.0.0 release.
Version 0.2.1
- Install the ContinuationFilter by default, it is needed for Tomcat 6.
Version 0.2
- Rewritten from scratch for CometD 2.0.