com.apama.cumulocity
Event Subscribe


Subscribes to Cumulocity measurement/managed object/event/alarm/operation notifications.
Since:
10.1.0.9/10.2.0.3/10.3.0.0
See Also:
com.apama.cumulocity.Unsubscribe - 

Constant summary
 stringCHANNEL := "CumulocityIoT"

Channel to send these events to.
 stringWILDCARD := "*"

Wildcard value of subscription.
 
Member summary
 stringstreamName

The source of the subscriptions, can be 'alarms', 'events', 'measurements', 'operations', 'managedObjects'.
 stringsubscription

Subscription details, can be 'assetId' or 'deviceId' or EventType (Example: DoorSensorEvent) or AlarmType (Example: UnavailabilityAlarm) etc.
 dictionary<stringany>params

Any other subscription properties.
 
Constant detail

CHANNEL

            string CHANNEL := "CumulocityIoT"
        
Channel to send these events to.

WILDCARD

            string WILDCARD := "*"
        
Wildcard value of subscription.
Member detail

params

            dictionary<stringanyparams
        
Any other subscription properties.

streamName

            string streamName
        
The source of the subscriptions, can be 'alarms', 'events', 'measurements', 'operations', 'managedObjects'.

subscription

            string subscription
        
Subscription details, can be 'assetId' or 'deviceId' or EventType (Example: DoorSensorEvent) or AlarmType (Example: UnavailabilityAlarm) etc.