AmqpSendHandler.createProtonMessage Method

定义

重载

createProtonMessage(String deviceId, com.microsoft.azure.sdk.iot.service.Message message)

Create Proton message from deviceId and content string

createProtonMessage(String deviceId, String moduleId, com.microsoft.azure.sdk.iot.service.Message message)

Create Proton message from deviceId and content string

createProtonMessage(String deviceId, com.microsoft.azure.sdk.iot.service.Message message)

Create Proton message from deviceId and content string

public void createProtonMessage(String deviceId, com.microsoft.azure.sdk.iot.service.Message message)
参数
deviceId
String

The device name string

message
Message

The message to be sent

createProtonMessage(String deviceId, String moduleId, com.microsoft.azure.sdk.iot.service.Message message)

Create Proton message from deviceId and content string

public void createProtonMessage(String deviceId, String moduleId, com.microsoft.azure.sdk.iot.service.Message message)
参数
deviceId
String

The device name string

moduleId
String

The device name string

message
Message

The message to be sent

适用于