O'Reilly logo

Drools JBoss Rules 5.0 Developer's Guide by Michal Bali, Bogdan Brinzarea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Complex Event Processing

Rules usually operate on a more or less static set of data (facts). However, for some systems, it is necessary to define the relationships between facts over the time. This is often called Complex Event Processing (CEP) or Event Stream Processing (ESP). Drools, more specifically Drools Fusion, starting with version 5.0, provides this support together with sliding windows, temporal operators, and type declarations.

In this chapter, we'll look at implementing a banking fraud detection system. It is an ideal candidate for CEP. The volume of events in a banking system is huge and we need to be able to do complex decisions based on these events.

CEP and ESP

CEP and ESP are styles of processing in an Event Driven Architecture ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required