Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AmqpClientOptions

Configures the AMQP Client. You can also configure the underlying Proton instance. Refer to for details.

Hierarchy

  • any
    • AmqpClientOptions

Index

Constructors

Methods

Constructors

constructor

Methods

addCrlPath

  • Parameters

    • crlPaths: string

    Returns AmqpClientOptions

addCrlValue

  • Parameters

    • crlValues: Buffer

    Returns AmqpClientOptions

addEnabledCipherSuite

  • Parameters

    • enabledCipherSuites: string

    Returns AmqpClientOptions

addEnabledSaslMechanism

  • Parameters

    • enabledSaslMechanisms: string

    Returns AmqpClientOptions

addEnabledSecureTransportProtocol

  • addEnabledSecureTransportProtocol(enabledSecureTransportProtocols: string): AmqpClientOptions
  • Parameters

    • enabledSecureTransportProtocols: string

    Returns AmqpClientOptions

addNonProxyHost

  • Parameters

    • nonProxyHosts: string

    Returns AmqpClientOptions

getActivityLogDataFormat

  • getActivityLogDataFormat(): any
  • Returns any

getApplicationLayerProtocols

  • getApplicationLayerProtocols(): string[]
  • Returns string[]

getConnectTimeout

  • getConnectTimeout(): number
  • Returns number

getConnectionHostname

  • getConnectionHostname(): string
  • Explicitly override the hostname value used for the AMQP Open frame.

    The host connected to as per AmqpClientOptions will be used in the Open frame by default.

    Returns string

getContainerId

  • getContainerId(): string
  • Sets the container id.

    Returns string

getCrlPaths

  • getCrlPaths(): string[]
  • Returns string[]

getCrlValues

  • getCrlValues(): Buffer[]
  • Returns Buffer[]

getEnabledCipherSuites

  • getEnabledCipherSuites(): string[]
  • Returns string[]

getEnabledSaslMechanisms

  • getEnabledSaslMechanisms(): string[]
  • Returns string[]

getEnabledSecureTransportProtocols

  • getEnabledSecureTransportProtocols(): string[]
  • Returns string[]

getHeartbeat

  • getHeartbeat(): number
  • Returns number

getHost

  • getHost(): string
  • Sets the host.

    Returns string

getHostnameVerificationAlgorithm

  • getHostnameVerificationAlgorithm(): string
  • Returns string

getIdleTimeout

  • getIdleTimeout(): number
  • Returns number

getIdleTimeoutUnit

  • getIdleTimeoutUnit(): any
  • Returns any

getJdkSslEngineOptions

  • getJdkSslEngineOptions(): JdkSSLEngineOptions
  • Returns JdkSSLEngineOptions

getKeyStoreOptions

  • getKeyStoreOptions(): JksOptions
  • Returns JksOptions

getLocalAddress

  • getLocalAddress(): string
  • Returns string

getLogActivity

  • getLogActivity(): boolean
  • Returns boolean

getMaxFrameSize

  • getMaxFrameSize(): number
  • Returns number

getMetricsName

  • getMetricsName(): string
  • Returns string

getNonProxyHosts

  • getNonProxyHosts(): string[]
  • Returns string[]

getOpenSslEngineOptions

  • getOpenSslEngineOptions(): OpenSSLEngineOptions
  • Returns OpenSSLEngineOptions

getPassword

  • getPassword(): string
  • Sets the password.

    Returns string

getPemKeyCertOptions

  • getPemKeyCertOptions(): PemKeyCertOptions
  • Returns PemKeyCertOptions

getPemTrustOptions

  • getPemTrustOptions(): PemTrustOptions
  • Returns PemTrustOptions

getPfxKeyCertOptions

  • getPfxKeyCertOptions(): PfxOptions
  • Returns PfxOptions

getPfxTrustOptions

  • getPfxTrustOptions(): PfxOptions
  • Returns PfxOptions

getPort

  • getPort(): number
  • Sets the port.

    Returns number

getProxyOptions

  • getProxyOptions(): ProxyOptions
  • Returns ProxyOptions

getReadIdleTimeout

  • getReadIdleTimeout(): number
  • Returns number

getReceiveBufferSize

  • getReceiveBufferSize(): number
  • Returns number

getReconnectAttempts

  • getReconnectAttempts(): number
  • Returns number

getReconnectInterval

  • getReconnectInterval(): number
  • Returns number

getSendBufferSize

  • getSendBufferSize(): number
  • Returns number

getSniServerName

  • getSniServerName(): string
  • Returns string

getSoLinger

  • getSoLinger(): number
  • Returns number

getSslEngineOptions

  • getSslEngineOptions(): any
  • Returns any

getSslHandshakeTimeout

  • getSslHandshakeTimeout(): number
  • Returns number

getSslHandshakeTimeoutUnit

  • getSslHandshakeTimeoutUnit(): any
  • Returns any

getTcpUserTimeout

  • getTcpUserTimeout(): number
  • Returns number

getTrafficClass

  • getTrafficClass(): number
  • Returns number

getTrustOptions

  • getTrustOptions(): any
  • Returns any

getTrustStoreOptions

  • getTrustStoreOptions(): JksOptions
  • Returns JksOptions

getUsername

  • getUsername(): string
  • Sets the username.

    Returns string

getVirtualHost

  • getVirtualHost(): string
  • Returns string

getWriteIdleTimeout

  • getWriteIdleTimeout(): number
  • Returns number

isRegisterWriteHandler

  • isRegisterWriteHandler(): boolean
  • Returns boolean

isReuseAddress

  • isReuseAddress(): boolean
  • Returns boolean

isReusePort

  • isReusePort(): boolean
  • Returns boolean

isSsl

  • isSsl(): boolean
  • Returns boolean

isTcpCork

  • isTcpCork(): boolean
  • Returns boolean

isTcpFastOpen

  • isTcpFastOpen(): boolean
  • Returns boolean

isTcpKeepAlive

  • isTcpKeepAlive(): boolean
  • Returns boolean

isTcpNoDelay

  • isTcpNoDelay(): boolean
  • Returns boolean

isTcpQuickAck

  • isTcpQuickAck(): boolean
  • Returns boolean

isTrustAll

  • isTrustAll(): boolean
  • Returns boolean

isUseAlpn

  • isUseAlpn(): boolean
  • Returns boolean

setActivityLogDataFormat

  • Parameters

    • activityLogDataFormat: any

    Returns AmqpClientOptions

setApplicationLayerProtocols

  • setApplicationLayerProtocols(applicationLayerProtocols: string[]): AmqpClientOptions
  • Parameters

    • applicationLayerProtocols: string[]

    Returns AmqpClientOptions

setConnectTimeout

  • Parameters

    • connectTimeout: number

    Returns AmqpClientOptions

setConnectionHostname

  • Explicitly override the hostname value used for the AMQP Open frame.

    The host connected to as per AmqpClientOptions will be used in the Open frame by default.

    Parameters

    • connectionHostname: string

    Returns AmqpClientOptions

setContainerId

  • Sets the container id.

    Parameters

    • containerId: string

    Returns AmqpClientOptions

setEnabledSecureTransportProtocols

  • setEnabledSecureTransportProtocols(enabledSecureTransportProtocols: string[]): AmqpClientOptions
  • Parameters

    • enabledSecureTransportProtocols: string[]

    Returns AmqpClientOptions

setHeartbeat

  • Parameters

    • heartbeat: number

    Returns AmqpClientOptions

setHost

  • Sets the host.

    Parameters

    • host: string

    Returns AmqpClientOptions

setHostnameVerificationAlgorithm

  • setHostnameVerificationAlgorithm(hostnameVerificationAlgorithm: string): AmqpClientOptions
  • Parameters

    • hostnameVerificationAlgorithm: string

    Returns AmqpClientOptions

setIdleTimeout

  • Parameters

    • idleTimeout: number

    Returns AmqpClientOptions

setIdleTimeoutUnit

  • Parameters

    • idleTimeoutUnit: any

    Returns AmqpClientOptions

setJdkSslEngineOptions

  • setJdkSslEngineOptions(jdkSslEngineOptions: JdkSSLEngineOptions): AmqpClientOptions
  • Parameters

    • jdkSslEngineOptions: JdkSSLEngineOptions

    Returns AmqpClientOptions

setKeyCertOptions

  • Parameters

    • keyCertOptions: any

    Returns AmqpClientOptions

setKeyStoreOptions

  • Parameters

    • keyStoreOptions: JksOptions

    Returns AmqpClientOptions

setLocalAddress

  • Parameters

    • localAddress: string

    Returns AmqpClientOptions

setLogActivity

  • Parameters

    • logActivity: boolean

    Returns AmqpClientOptions

setMaxFrameSize

  • Parameters

    • maxFrameSize: number

    Returns AmqpClientOptions

setMetricsName

  • Parameters

    • metricsName: string

    Returns AmqpClientOptions

setNonProxyHosts

  • Parameters

    • nonProxyHosts: string[]

    Returns AmqpClientOptions

setOpenSslEngineOptions

  • setOpenSslEngineOptions(openSslEngineOptions: OpenSSLEngineOptions): AmqpClientOptions
  • Parameters

    • openSslEngineOptions: OpenSSLEngineOptions

    Returns AmqpClientOptions

setPassword

  • Sets the password.

    Parameters

    • password: string

    Returns AmqpClientOptions

setPemKeyCertOptions

  • Parameters

    • pemKeyCertOptions: PemKeyCertOptions

    Returns AmqpClientOptions

setPemTrustOptions

  • Parameters

    • pemTrustOptions: PemTrustOptions

    Returns AmqpClientOptions

setPfxKeyCertOptions

  • Parameters

    • pfxKeyCertOptions: PfxOptions

    Returns AmqpClientOptions

setPfxTrustOptions

  • Parameters

    • pfxTrustOptions: PfxOptions

    Returns AmqpClientOptions

setPort

  • Sets the port.

    Parameters

    • port: number

    Returns AmqpClientOptions

setProxyOptions

  • Parameters

    • proxyOptions: ProxyOptions

    Returns AmqpClientOptions

setReadIdleTimeout

  • Parameters

    • readIdleTimeout: number

    Returns AmqpClientOptions

setReceiveBufferSize

  • Parameters

    • receiveBufferSize: number

    Returns AmqpClientOptions

setReconnectAttempts

  • Parameters

    • reconnectAttempts: number

    Returns AmqpClientOptions

setReconnectInterval

  • Parameters

    • reconnectInterval: number

    Returns AmqpClientOptions

setRegisterWriteHandler

  • Parameters

    • registerWriteHandler: boolean

    Returns AmqpClientOptions

setReuseAddress

  • Parameters

    • reuseAddress: boolean

    Returns AmqpClientOptions

setReusePort

  • Parameters

    • reusePort: boolean

    Returns AmqpClientOptions

setSendBufferSize

  • Parameters

    • sendBufferSize: number

    Returns AmqpClientOptions

setSniServerName

  • Parameters

    • sniServerName: string

    Returns AmqpClientOptions

setSoLinger

  • Parameters

    • soLinger: number

    Returns AmqpClientOptions

setSsl

  • Parameters

    • ssl: boolean

    Returns AmqpClientOptions

setSslEngineOptions

  • Parameters

    • sslEngineOptions: any

    Returns AmqpClientOptions

setSslHandshakeTimeout

  • Parameters

    • sslHandshakeTimeout: number

    Returns AmqpClientOptions

setSslHandshakeTimeoutUnit

  • Parameters

    • sslHandshakeTimeoutUnit: any

    Returns AmqpClientOptions

setTcpCork

  • Parameters

    • tcpCork: boolean

    Returns AmqpClientOptions

setTcpFastOpen

  • Parameters

    • tcpFastOpen: boolean

    Returns AmqpClientOptions

setTcpKeepAlive

  • Parameters

    • tcpKeepAlive: boolean

    Returns AmqpClientOptions

setTcpNoDelay

  • Parameters

    • tcpNoDelay: boolean

    Returns AmqpClientOptions

setTcpQuickAck

  • Parameters

    • tcpQuickAck: boolean

    Returns AmqpClientOptions

setTcpUserTimeout

  • Parameters

    • tcpUserTimeout: number

    Returns AmqpClientOptions

setTrafficClass

  • Parameters

    • trafficClass: number

    Returns AmqpClientOptions

setTrustAll

  • Parameters

    • trustAll: boolean

    Returns AmqpClientOptions

setTrustOptions

  • Parameters

    • trustOptions: any

    Returns AmqpClientOptions

setTrustStoreOptions

  • Parameters

    • trustStoreOptions: JksOptions

    Returns AmqpClientOptions

setUseAlpn

  • Parameters

    • useAlpn: boolean

    Returns AmqpClientOptions

setUsername

  • Sets the username.

    Parameters

    • username: string

    Returns AmqpClientOptions

setVirtualHost

  • Parameters

    • virtualHost: string

    Returns AmqpClientOptions

setWriteIdleTimeout

  • Parameters

    • writeIdleTimeout: number

    Returns AmqpClientOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc