Package com.azure.core.amqp.models
Class AmqpAddress
- java.lang.Object
-
- com.azure.core.amqp.models.AmqpAddress
-
public final class AmqpAddress extends Object
This represents amqp address information. This will be used in populating information like 'To', 'ReplyTo' etc.Create and retrieve address
AmqpAddress amqpAddress = new AmqpAddress("my-address"); // Retrieve Adderss String address = amqpAddress.toString(); System.out.println("Address " + address);- See Also:
- Address type Format.
-
-
Constructor Summary
Constructors Constructor Description AmqpAddress(String address)Creates theAmqpAddresswith givenaddress.
-
-
-
Constructor Detail
-
AmqpAddress
public AmqpAddress(String address)
Creates theAmqpAddresswith givenaddress.- Parameters:
address- The address to set for this instance.- Throws:
NullPointerException- ifaddressis null.
-
-