AmqpsMessage Class
- java.
lang. Object - MessageImpl
- com.
microsoft. azure. sdk. iot. device. transport. amqps. AmqpsMessage
- com.
public class AmqpsMessage
Extension of the QPID-Proton-J MessageImpl class which implements the Message interface. Adds a Delivery object as a private member variable and adds a new ACK_TYPE enum. Adds the ability to easily acknowledge a single message.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
acknowledge(DeliveryState ackType)
Sends acknowledgement of this message using the provided ACK_TYPE. |
Method Details
acknowledge
public void acknowledge(DeliveryState ackType)
Sends acknowledgement of this message using the provided ACK_TYPE.
Parameters: