AmqpLink Interface
Implements
public interface AmqpLink
extends Disposable, AsyncCloseable
Represents a unidirectional AMQP link.
Method Summary
Modifier and Type | Method and Description |
---|---|
default Mono<Void> |
closeAsync()
Disposes of the AMQP link. |
abstract
Flux<Amqp |
getEndpointStates()
Gets the endpoint states for the AMQP link. |
abstract String |
getEntityPath()
The remote endpoint path this link is connected to. |
abstract String |
getHostname()
The host name of the message broker that this link that is connected to. |
abstract String |
getLinkName()
Gets the name of the link. |
Method Details
closeAsync
public default Mono
Disposes of the AMQP link.
Returns:
getEndpointStates
public abstract Flux
Gets the endpoint states for the AMQP link. AmqpException that occur on the link are reported in the connection state. When the stream terminates, the link is closed.
Returns:
getEntityPath
public abstract String getEntityPath()
The remote endpoint path this link is connected to.
Returns:
getHostname
public abstract String getHostname()
The host name of the message broker that this link that is connected to.
Returns:
getLinkName
public abstract String getLinkName()
Gets the name of the link.
Returns:
Applies to
Azure SDK for Java