AmqpClientOptions

Configures the AMQP Client. You can also configure the underlying Proton instance. Refer to {@link ProtonClientOptions} for details.

class AmqpClientOptions : ProtonClientOptions {}

Constructors

this
this()
Undocumented in source.
this
this(AmqpClientOptions other)
Undocumented in source.

Members

Functions

addEnabledSaslMechanism
AmqpClientOptions addEnabledSaslMechanism(string saslMechanism)

@see ProtonClientOptions#addEnabledSaslMechanism(string)

getContainerId
string getContainerId()

@return the container id.

getHost
string getHost()

@return the host.

getPassword
string getPassword()

@return the password

getPort
int getPort()

@return the port.

getUsername
string getUsername()

@return the username

setConnectTimeout
AmqpClientOptions setConnectTimeout(Duration connectTimeout)

@see ProtonClientOptions#setConnectTimeout(int)

setContainerId
AmqpClientOptions setContainerId(string containerId)

Sets the container id.

setHeartbeat
AmqpClientOptions setHeartbeat(int heartbeat)

@see ProtonClientOptions#setHeartbeat(int)

setHost
AmqpClientOptions setHost(string host)

Sets the host.

setHostnameVerificationAlgorithm
AmqpClientOptions setHostnameVerificationAlgorithm(string hostnameVerificationAlgorithm)

@see ProtonClientOptions#setHostnameVerificationAlgorithm(string)

setIdleTimeout
AmqpClientOptions setIdleTimeout(Duration idleTimeout)

@see ProtonClientOptions#setIdleTimeout(int)

setLocalAddress
AmqpClientOptions setLocalAddress(string localAddress)

@see ProtonClientOptions#setLocalAddress(string)

setMaxFrameSize
AmqpClientOptions setMaxFrameSize(int maxFrameSize)

@see ProtonClientOptions#setMaxFrameSize(int)

setPassword
AmqpClientOptions setPassword(string pwd)

Sets the password.

setPort
AmqpClientOptions setPort(int port)

Sets the port.

setReceiveBufferSize
AmqpClientOptions setReceiveBufferSize(int receiveBufferSize)

@see ProtonClientOptions#setReceiveBufferSize(int)

setReconnectAttempts
AmqpClientOptions setReconnectAttempts(int attempts)

@see ProtonClientOptions#setReconnectAttempts(int)

setReconnectInterval
AmqpClientOptions setReconnectInterval(Duration interval)

@see ProtonClientOptions#setReconnectInterval(long)

setReuseAddress
AmqpClientOptions setReuseAddress(bool reuseAddress)

@see ProtonClientOptions#setReuseAddress(boolean)

setReusePort
AmqpClientOptions setReusePort(bool reusePort)

@see ProtonClientOptions#setReusePort(boolean)

setSendBufferSize
AmqpClientOptions setSendBufferSize(int sendBufferSize)

@see ProtonClientOptions#setSendBufferSize(int)

setSniServerName
AmqpClientOptions setSniServerName(string sniServerName)

@see ProtonClientOptions#setSniServerName(string)

setSoLinger
AmqpClientOptions setSoLinger(int soLinger)

@see ProtonClientOptions#setSoLinger(int)

setSsl
AmqpClientOptions setSsl(bool ssl)

@see ProtonClientOptions#setSsl(boolean)

setTcpCork
AmqpClientOptions setTcpCork(bool tcpCork)

@see ProtonClientOptions#setTcpCork(boolean)

setTcpFastOpen
AmqpClientOptions setTcpFastOpen(bool tcpFastOpen)

@see ProtonClientOptions#setTcpFastOpen(boolean)

setTcpKeepAlive
AmqpClientOptions setTcpKeepAlive(bool tcpKeepAlive)

@see ProtonClientOptions#setTcpKeepAlive(boolean)

setTcpNoDelay
AmqpClientOptions setTcpNoDelay(bool tcpNoDelay)

@see ProtonClientOptions#setTcpNoDelay(boolean)

setTcpQuickAck
AmqpClientOptions setTcpQuickAck(bool tcpQuickAck)

@see ProtonClientOptions#setTcpQuickAck(boolean)

setTrafficClass
AmqpClientOptions setTrafficClass(int trafficClass)

@see ProtonClientOptions#setTrafficClass(int)

setTrustAll
AmqpClientOptions setTrustAll(bool trustAll)

@see ProtonClientOptions#setTrustAll(boolean)

setUsername
AmqpClientOptions setUsername(string username)

Sets the username.

setVirtualHost
AmqpClientOptions setVirtualHost(string virtualHost)

@see ProtonClientOptions#setVirtualHost(string)

Variables

DEFAULT_HOST
enum string DEFAULT_HOST;
Undocumented in source.
DEFAULT_PASSWORD
enum string DEFAULT_PASSWORD;
Undocumented in source.
DEFAULT_PORT
enum int DEFAULT_PORT;
Undocumented in source.
DEFAULT_SENTINEL_PORT
enum int DEFAULT_SENTINEL_PORT;
Undocumented in source.
DEFAULT_TIMEOUT
enum int DEFAULT_TIMEOUT;
Undocumented in source.
DEFAULT_USERNAME
enum string DEFAULT_USERNAME;
Undocumented in source.

Meta