article describes a use case for Oracle Stream Explorer – Oracle’s
business user friendly interface on top of OEP – Oracle Event Processor.
We assume a large number of devices – such as printers, copiers,
sensors, detectors, coffee machines – spread across the globe – and the
All devices continuously report their status, by sending a
message every other second that contains their device identifier, a code
that can indicate the healthy status or an error and some additional
details. The sheer number of devices combined with the continuous stream
of reports they sent in set the challenges perimeters within which we
have to implement fast and effective monitoring. Our specific challenge
is: “whenever a device reports an error code three times within 10
seconds, we consider that device broken, and action should be taken”
(that also means that we do not spring into action on the first or even
second fault report from a device). Additionally: we only require a
single action for a broken device – once the action is initiated, we do
not have to start an action again for that same device – unless of
course it is broken again at a much later point in time.
The concrete implementation described in this article looks as follows:
the sake of a simple demonstration, we read device message reports from
a csv file, instead of a live stream such as a JMS destination or an
HTTP channel. Note that the Stream Explorer implementation would be
exactly the same for these other stream types. Stream Explorer processes
the device signals. For signals that satisfy the requirements of a
broken device, the information is enriched from a database with device
details – such as the physical location of the device – and finally an
EDN event is composed and published. This event is consumed by a SOA
Composite application in the SOA Suite 12c environment. This composite
can virtually do anything, including assigning a task, starting a BPM
process or sending an email.
The implementation described in this article is also demonstrated in a video on YouTube: Read the complete article here.
SOA & BPM Partner Community
regular information on Oracle SOA Suite become a member in the SOA
& BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.
Blog Twitter LinkedIn Facebook Wiki