Xtream is an open source complex event processing library for java