O'Reilly logo

Getting Started with Oracle Event Processing 11g by Lloyd Williams, Robin J. Smith, Alexandre Alves

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

Enriching events using a cache

Once the caching system and cache is in place, one common use case is to use it to enrich events. In most cases, applications are designed so that the incoming event contains the key that you'll need to access the cache. Just as you've seen previously how a database table can be incorporated into the EPN, a cache is also a first-class citizen in an OEP application. Once we've linked the cache to the CQL processor as a source, you can refer to it in the CQL in the same way that you referenced the database table in the previous section. This will allow you to join an event stream on an incoming channel with its associated cached attributes.

You will use the key attribute from the incoming data stream to join to the ...

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