AmqpsMessage Class
- java.
lang. Object - MessageImpl
- com.
microsoft. azure. sdk. iot. provisioning. device. transport. amqp. 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:
ackType
- acknowledgement type to send
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java