public final class AmqpMessageId extends Object
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);
| Constructor and Description |
|---|
AmqpMessageId(String messageId)
Creates the
AmqpMessageId with given messageId. |
public AmqpMessageId(String messageId)
AmqpMessageId with given messageId.messageId - representing id of the message.NullPointerException - if messageId is null.Copyright © 2021 Microsoft Corporation. All rights reserved.