public final class AmqpMessageId extends Object
String representation at present.
Create and retrieve message id
AmqpMessageIdmessageId = newAmqpMessageId("my-message-id"); // Retrieve Message idStringid = 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.