The Coffee Factory

Introduction

Have you ever wondered how instant Coffee is made? In this blog, I’ll walk you through my Coffee Factory project which I created using Apama EPL without previous knowledge of the language. The project consists of two sub-projects, one of them is responsible for simulating the data within a Coffee Factory and the other one takes the role of Apama by analyzing the live data for any issues. If by any chance something wrong happens within our Coffee Factory, Apama takes care of the issue immediately and fixes it.… Read More

HTTP transport enhancements

In Apama 10.3.1, we added support for HTTP redirects, cookie handling for requests, HTTP request decoding, and HTML form encoding to the HTTP client transport. We also added support for HTTP requests and HTML form decoding to the HTTP server transport.

HTTP redirect support in the HTTP client transport

The HTTP client transport now supports HTTP redirects transparently. To enable this, set the followRedirects configuration option to true. If the URL you requested returns an HTTP redirect response, your request is made automatically on the URL to which you were redirected.… Read More

Batch Codecs

In Apama 10.3.1 we introduced the “Batch Accumulator” and the “Message List” codecs. Both of these codecs deal with handling batches of multiple events at the same time to support use cases with high event rates

The “Batch Accumulator” codec

You can easily add this codec to your connectivity plug-in chain, without changing anything else in your application or anything external, and it will allow events being sent from the connectivity transport to a correlator (host) to be batched.… Read More

HTTP Server EPL responses

The purpose of this blog post is to introduce new features that extend the  HTTP Server Connectivity Plug-in with the ability to respond to a request from the EPL. Prior to 10.3.1 only a basic response was returned to indicate the call had succeeded. This change allows a full request and response protocol to be implemented.

Now, you can configure the HTTP Server transport  to  allow the response to an HTTP request to be created by an EPL application, instead of automatically returning an empty accepted response.… Read More