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:
  • Constructor Details

    • AmqpAddress

      public AmqpAddress(String address)
      Creates the AmqpAddress with given address.
      Parameters:
      address - The address to set for this instance.
      Throws:
      NullPointerException - if address is null.
  • Method Details