public interface AmqpConnection extends Disposable
Disposable.Composite, Disposable.Swap| Modifier and Type | Method and Description |
|---|---|
Mono<AmqpSession> |
createSession(String sessionName)
Creates a new session with the given session name.
|
Mono<ClaimsBasedSecurityNode> |
getClaimsBasedSecurityNode()
Gets the claims-based security (CBS) node that authorizes access to resources.
|
Map<String,Object> |
getConnectionProperties()
Gets the connection properties.
|
Flux<AmqpEndpointState> |
getEndpointStates()
Gets the endpoint states for the AMQP connection.
|
String |
getFullyQualifiedNamespace()
Gets the fully qualified namespace for the AMQP connection.
|
String |
getId()
Gets the connection identifier.
|
int |
getMaxFrameSize()
Gets the maximum frame size for the connection.
|
Flux<AmqpShutdownSignal> |
getShutdownSignals()
Gets any shutdown signals that occur in the AMQP endpoint.
|
boolean |
removeSession(String sessionName)
Removes a session with the
sessionName from the AMQP connection. |
dispose, isDisposedString getId()
String getFullyQualifiedNamespace()
int getMaxFrameSize()
Map<String,Object> getConnectionProperties()
Mono<ClaimsBasedSecurityNode> getClaimsBasedSecurityNode()
Mono<AmqpSession> createSession(String sessionName)
sessionName - Name of the session.boolean removeSession(String sessionName)
sessionName from the AMQP connection.sessionName - Name of the session to remove.true if a session with the name was removed; false otherwise.Flux<AmqpEndpointState> getEndpointStates()
AmqpExceptions that occur on the link are
reported in the connection state. When the stream terminates, the connection is closed.Flux<AmqpShutdownSignal> getShutdownSignals()
Copyright © 2021 Microsoft Corporation. All rights reserved.