Apama 10.15.0 | Connecting Apama Applications to External Components | Standard Connectivity Plug-ins | The Cumulocity IoT Transport Connectivity Plug-in | Finding tenant options
 
Finding tenant options
In order to find the available tenant options on a tenant, you can send the event com.apama.cumulocity.FindTenantOptions to FindTenantOptions.SEND_CHANNEL. This results in events of type com.apama.cumulocity.FindTenantOptionsResponse being returned on com.apama.cumulocity.FindTenantOptionsResponse.SUBSCRIBE_CHANNEL.
The returned event includes a sequence of com.apama.cumulocity.TenantOption, which individually include the key/value combinations that represent the available tenant option.
In order to filter the tenant options returned, you can specify values in the category and key fields of the find request. If only the key is specified, then Cumulocity IoT returns all the available tenant options and the correlator filters them by the key.