Apama 10.3.1 | Apama Documentation | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The Cumulocity IoT Transport Connectivity Plug-in | Using events
 
Using events
 
Creating an event
Updating an existing event
Querying for events
The com.apama.cumulocity.Event is sent on an event from a device. This event is sent to the com.apama.cumulocity.Measurement.CHANNEL (same as cumulocity.measurements) channel. This event contains the identifier of the source, a timestamp (same form as currentTime), message text, and optional parameters.
Example of an event:
com.apama.cumulocity.Event("48073557","c8y_EntranceEvent",
"12346082",1519838833.6,
"Entrance event triggered.",
{"creationTime":any(float,1519838834.706)})

Copyright © 2013-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.