Unit testing with AUnit

Unit tests play a crucial role in tightening the developer feedback loop. They enable developers to receive fast feedback on the validity of their application’s behaviour, and can assist with development processes such as TDD. Whilst not replacing the need for system tests, unit tests contribute to the suite of testing methods available, helping developers create elegant, reliable code.

AUnit is a unit test and packaging tool for Apama. Unit tests are written directly in EPL, enabling developers to introspect and assert their application at an event object level.… Read More

GPIO Plugin for Apama Community Edition on a Raspberry Pi

The Raspberry Pi is a great little computer that can now run Apama with the release of the Community Edition Core components. And one of the great things about the Raspberry Pi is the way in can interact with real world ‘things’ using it’s GPIO pins, such as LEDs, buttons, buzzers, etc. To connect Apama to the GPIO pins on the Raspberry Pi we have created the GPIO Plugin which will allow a user to easily monitor and respond to changes on the GPIO pins.… Read More

Real World Streaming Analytics

Streaming Analytics has been hot terminology in the business world for the past few years, as companies seek to harness, benefit and add value from the inexorably growing volume of data they generate and receive in the modern digital information driven world. Critically, we are moving to a world where real-time analysis is becoming ever more important versus conventional static analysis to maintain a competitive edge. Delivering near immediate insight is what is now expected.… Read More

Apama EPL first steps

Apama applications that run in the correlator are usually written using EPL, which is Apama’s native event processing language.  This blog post will give you a short introduction into the basics of EPL, covering some basic concepts and ideas.  It is assumed the reader already has some knowledge of other programming languages (C/C++, Java, Python, etc) and understands basic programming concepts.


Before EPL can look for patterns in event streams, you must define the types of events you are interested in.  … Read More

How to test Apama Applications

Testing an application is obviously a very important part of the development cycle, and to this end Apama includes an Open Source testing framework called PySys – https://sourceforge.net/projects/pysys/.

This is a Python based system testing framework that can be used to orchestrate the different components of a system test and then verify the results to give a positive or negative testing outcome. It also allows the same test to be run across multiple platforms.… Read More

Creating your own RegEx Plug-in

Following on from our article on how to create your own CSV Connectivity Plug-ins, in this article we will be discussing how you can create a slightly more complex plug-in – a RegEx plug-in. With this plug-in, you can define a regular expression and a value to replace it with to identify patterns and transform messages accordingly.

This plug-in is written in Java and includes a File Transport to read and write files (for simple testing), but this package also include more comprehensive system tests.… Read More