com.apama.cumulocity.devices
Event DeviceConsumer


DeviceConsumer event representing a consumer connection for a specific tenant and transport. Contains methods to retrieve subscription channel details.

Note: The DeviceConsumer is currently in public preview and may be subject to change in future.
Action summary
 stringgetPartition()

Returns the partition identifier.
 stringgetSubscribeChannel()

Returns the subscription channel name.
 stringgetTenantID()

Returns the tenant identifier.
 stringgetTransportName()

Returns the transport name (e.g., "mqtt").
 
Action detail

getPartition

string getPartition()
Returns the partition identifier.

getSubscribeChannel

string getSubscribeChannel()
Returns the subscription channel name.

getTenantID

string getTenantID()
Returns the tenant identifier.

getTransportName

string getTransportName()
Returns the transport name (e.g., "mqtt").