Package com.azure.core.amqp.models
Class AmqpMessageId
java.lang.Object
com.azure.core.amqp.models.AmqpMessageId
This represents Message id. Amqp specification support message id in various types. This class only implements
String representation at present.
Create and retrieve message id
AmqpMessageId messageId = new AmqpMessageId("my-message-id");
// Retrieve Message id
String id = messageId.toString();
System.out.println("Message Id " + id);
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAmqpMessageId(String messageId) Creates theAmqpMessageIdwith givenmessageId. -
Method Summary
-
Constructor Details
-
AmqpMessageId
Creates theAmqpMessageIdwith givenmessageId.- Parameters:
messageId- representing id of the message.- Throws:
NullPointerException- ifmessageIdis null.
-
-
Method Details