AmqpAddress Class

  • java.lang.Object
    • com.azure.core.amqp.models.AmqpAddress

public final class AmqpAddress

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 Address
 String address = amqpAddress.toString();
 System.out.println("Address " + address);

Constructor Summary

Constructor Description
AmqpAddress(String address)

Creates the AmqpAddress with given address.

Method Summary

Modifier and Type Method and Description
boolean equals(Object other)
int hashCode()
String toString()

Methods inherited from java.lang.Object

Constructor Details

AmqpAddress

public AmqpAddress(String address)

Creates the AmqpAddress with given address.

Parameters:

address - The address to set for this instance.

Method Details

equals

public boolean equals(Object other)

Overrides:

AmqpAddress.equals(Object other)

Parameters:

other

hashCode

public int hashCode()

Overrides:

AmqpAddress.hashCode()

toString

public String toString()

Overrides:

AmqpAddress.toString()

Applies to