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

Definition

Create Proton message from deviceId and content string

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

The device name string

message
Message

The message to be sent