Questions tagged [apama]

Apama is a Complex Event Processing engine.

Apama is a Complex Event Processing (CEP) engine. Apama serves as a platform for performing streaming analytics over a range of high volume/low latency inputs and applications. Users define data patterns to listen for and actions to take when these patterns are found, which are expressed in the provided Domain Specific Language called the Event Processing Language (EPL). Plug-ins for interfacing with external systems or extending the EPL language can be written in or .

32 questions
4
votes
2 answers

Apama "within" and "and" operator not execute listener?

I'd like to build a simple monitor. Who listens for events in a time window and executes a listener. But the listener is not executed. I have a feeling the Apama Engine doesn't support that. From documentation: Temporal operations are a common…
Hack
  • 83
  • 6
4
votes
1 answer

Apama JMS Correlator Adapter dynamic flow control

Is there way in Apama to dynamically stop/start the JMSConsumer as part of the JMS adapter?
Adnan Mian
  • 415
  • 1
  • 5
  • 17
3
votes
2 answers

How to parse value from HTTP JSON response payload

I’m relatively new to Apama. I’m using v10.3.1. I’m following the following snippet to do a REST request within a…
Mathias
  • 85
  • 1
  • 5
3
votes
3 answers

How does "any" type work with basic types like string?

I am trying to use a switch clause to define what to do depending on the real type of a variable of type "any", my code is crashing. The code is the next: handleResponse(any.parseType("string",respValuesRaw[type]), currEPIFace); ... ... ... action…
Tony_craft
  • 213
  • 1
  • 10
3
votes
1 answer

Is white space relevant when casting from the 'any' type in Apama EPL?

I am on Apama 10.3 (Community Edition): any emptyString := ""; any emptyDictionary := new dictionary; string myString := emptyString; dictionary := > emptyDictionary; The cast in line 3 works,…
Caribou
  • 2,070
  • 13
  • 29
3
votes
2 answers

Mapping JSON to Apama Events

I am trying to use the Mapper codec in my connectivity chain to convert a JSON object that looks like this: {"test2":[ ["column1","column2","column3"], ["16091", "449", "05302018"], ["16092", "705", "05302018"] ]} to an EPL type. To me…
Madden
  • 1,024
  • 1
  • 9
  • 27
2
votes
1 answer

Issue with parsing json response having xml attributes

I have a json response using the Http Client Adapter which has the below format { "?xml": { "@version":"1.0", "@encoding":"utf-8" }, ArrayOfBusinessTypeAPI { "@xmlns:xsd":"http://www.w3.org/2001/XMLSchema", …
2
votes
2 answers

Credentials for HTTP requests from built-in Apama runtime in Cumulocity

I'm using Apama v10.3.1. I'm using the built-in Apama container of a Cumulocity installation, that is all I'm uploading is a monitor, not an entire Apama project. In my Apama monitor I'm executing an HTTP GET request against the Cumulocity REST API…
Mathias
  • 85
  • 1
  • 5
2
votes
1 answer

JSON Response Parsing in Apama HTTPClient adapter

I want to parse the JSON response coming from HTTP REST call using the HTTPClient adapter in apama. The response string is as below, { "geometry": { "type": "MultiPolygon", "cordinates": [ …
2
votes
1 answer

Error Parsing HTTP Response Using Apama HTTP Client plugin

I am trying to do an HTTP call to a REST API using Apama HTTP Client plugin. I am able to send a request to the REST Resource, but while parsing the response, I am getting the below error. WARN [20176] - Failed to parse the event…
2
votes
1 answer

Can we use Apama to monitor networking tcp/udp(IP) traffic and generate events?

Can we use Apama to monitor Networking IP traffic and generate events based on that? we are planning to use Apama to monitor networking traffic and based on the generated events decisions will be made to scale up or scale-down particular…
2
votes
1 answer

HelloWorld Apama Docker Application

I am trying to build a simple HelloWorld docker image using apama-builder. However I am getting the following error: INFO: copying the project file from /app/HelloWorld to output directory /app/deployed ERROR: Failed to create correlator…
Adnan Mian
  • 415
  • 1
  • 5
  • 17
2
votes
1 answer

Apama 10.3: Add pysys nature to projects

I am working with Apama 10.3, in Software AG Designer. I have a project that I'd like to add the Pysys nature to my project, but the usual attempts (right-click on project name, project > properties, etc.) don't help. I couldn't find anything in…
HenryLockwood
  • 215
  • 1
  • 8
2
votes
5 answers

How to configure Apama with Python plugin support

I'm trying to use a Python plugins in Apama. Unfortunately I always get the following error message when starting the correlator. Failed to initialize correlator: Could not initialise the Python plugin. Set AP_PYTHONHOME to the location of…
Hack
  • 83
  • 6
2
votes
2 answers

How can I have multiple contexts handle events in Apama

I am trying to define a monitor in which I receieve events and then handle them on multiple contexts (roughly equating to threads if I understand correctly) I know I can write spawn myAction() to myNewContext; and this will run that action in the…
Caribou
  • 2,070
  • 13
  • 29
1
2 3