class StompClientOptions extends NetClientOptions
Options used to configure a STOMP client. As a STOMP client wraps a Net client, you can also configure the underlying NET client.
- Alphabetic
- By Inheritance
- StompClientOptions
- NetClientOptions
- ClientOptionsBase
- TCPSSLOptions
- NetworkOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StompClientOptions(_asJava: ext.stomp.StompClientOptions)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addCrlPath(value: String): StompClientOptions
Add a CRL path
Add a CRL path
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addCrlValue(value: Buffer): StompClientOptions
Add a CRL value
Add a CRL value
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addEnabledCipherSuite(value: String): StompClientOptions
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled cipher suite, appended to the ordered suites.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addEnabledSecureTransportProtocol(value: String): StompClientOptions
Sets the list of enabled SSL/TLS protocols.
Sets the list of enabled SSL/TLS protocols.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: ext.stomp.StompClientOptions
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAcceptedVersions: Buffer[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConnectTimeout: Int
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
getCrlPaths: Buffer[String]
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getCrlValues: Buffer[Buffer]
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getEnabledCipherSuites: Set[String]
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getEnabledSecureTransportProtocols: Set[String]
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getHeartbeat: JsonObject
- def getHost: String
-
def
getHostnameVerificationAlgorithm: String
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
getIdleTimeout: Int
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getIdleTimeoutUnit: TimeUnit
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getJdkSslEngineOptions: JdkSSLEngineOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getKeyStoreOptions: JksOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getLocalAddress: String
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
getLogActivity: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
- def getLogin: String
-
def
getMetricsName: String
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
getOpenSslEngineOptions: OpenSSLEngineOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getPasscode: String
-
def
getPemKeyCertOptions: PemKeyCertOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPemTrustOptions: PemTrustOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPfxKeyCertOptions: PfxOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPfxTrustOptions: PfxOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getPort: Int
-
def
getProxyOptions: ProxyOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
getReceiveBufferSize: Int
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getReconnectAttempts: Int
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
getReconnectInterval: Long
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
getSendBufferSize: Int
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getSoLinger: Int
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getTrafficClass: Int
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getTrustStoreOptions: JksOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def getVirtualHost: String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAutoComputeContentLength: Boolean
- def isBypassHostHeader: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReuseAddress: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
isReusePort: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
isSsl: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpCork: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpFastOpen: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpKeepAlive: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpNoDelay: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpQuickAck: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def isTrailingLine: Boolean
-
def
isTrustAll: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
isUseAlpn: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isUsePooledBuffers: Boolean
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
- def isUseStompFrame: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setAcceptedVersions(value: Buffer[String]): StompClientOptions
Sets the list of STOMP protocol versions accepted by the client.
Sets the list of STOMP protocol versions accepted by the client. The list must be ordered from the lowest version to the highest. By default the following list is used:
1.0, 1.1, 1.2
-
def
setAutoComputeContentLength(value: Boolean): StompClientOptions
Sets whether or not the automatic computation of the
content-length
header is enabled.Sets whether or not the automatic computation of the
content-length
header is enabled. If enabled, thecontent-length
header is set in all frame with a body that do not explicitly set the header. The option is enabled by default. -
def
setBypassHostHeader(value: Boolean): StompClientOptions
Sets whether or not the
host
header must be dropped from theCONNECT/STOMP
frame.Sets whether or not the
host
header must be dropped from theCONNECT/STOMP
frame. Server may be picky about this header (such as RabbitMQ that does not support it). Options disabled by default. -
def
setConnectTimeout(value: Int): StompClientOptions
Set the connect timeout
Set the connect timeout
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
setEnabledSecureTransportProtocols(value: Set[String]): StompClientOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setHeartbeat(value: JsonObject): StompClientOptions
Sets the heartbeat configuration.
-
def
setHost(value: String): StompClientOptions
Sets the STOMP server host.
Sets the STOMP server host.
0.0.0.0
by default. -
def
setHostnameVerificationAlgorithm(value: String): StompClientOptions
Set the hostname verification algorithm interval To disable hostname verification, set hostnameVerificationAlgorithm to an empty String
Set the hostname verification algorithm interval To disable hostname verification, set hostnameVerificationAlgorithm to an empty String
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
setIdleTimeout(value: Int): StompClientOptions
Set the idle timeout, default time unit is seconds.
Set the idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.
If you want change default time unit, use NetClientOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setIdleTimeoutUnit(value: TimeUnit): StompClientOptions
Set the idle timeout unit.
Set the idle timeout unit. If not specified, default is seconds.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setJdkSslEngineOptions(value: JdkSSLEngineOptions): StompClientOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setKeyStoreOptions(value: JksOptions): StompClientOptions
Set the key/cert options in jks format, aka Java keystore.
Set the key/cert options in jks format, aka Java keystore.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setLocalAddress(value: String): StompClientOptions
Set the local interface to bind for network connections.
Set the local interface to bind for network connections. When the local address is null, it will pick any local address, the default local address is null.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
setLogActivity(value: Boolean): StompClientOptions
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setLogin(value: String): StompClientOptions
Sets the login to use if the STOMP server is secured.
-
def
setMetricsName(value: String): StompClientOptions
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
setOpenSslEngineOptions(value: OpenSSLEngineOptions): StompClientOptions
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPasscode(value: String): StompClientOptions
Sets the passcode to use if the STOMP server is secured.
-
def
setPemKeyCertOptions(value: PemKeyCertOptions): StompClientOptions
Set the key/cert store options in pem format.
Set the key/cert store options in pem format.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPemTrustOptions(value: PemTrustOptions): StompClientOptions
Set the trust options in pem format
Set the trust options in pem format
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPfxKeyCertOptions(value: PfxOptions): StompClientOptions
Set the key/cert options in pfx format.
Set the key/cert options in pfx format.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPfxTrustOptions(value: PfxOptions): StompClientOptions
Set the trust options in pfx format
Set the trust options in pfx format
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPort(value: Int): StompClientOptions
Sets the STOMP server port.
Sets the STOMP server port.
61613
by default. -
def
setProxyOptions(value: ProxyOptions): StompClientOptions
Set proxy options for connections via CONNECT proxy (e.g.
Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
setReceiveBufferSize(value: Int): StompClientOptions
Set the TCP receive buffer size
Set the TCP receive buffer size
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setReconnectAttempts(value: Int): StompClientOptions
Set the value of reconnect attempts
Set the value of reconnect attempts
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
setReconnectInterval(value: Long): StompClientOptions
Set the reconnect interval
Set the reconnect interval
- Definition Classes
- StompClientOptions → NetClientOptions
-
def
setReuseAddress(value: Boolean): StompClientOptions
Set the value of reuse address
Set the value of reuse address
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setReusePort(value: Boolean): StompClientOptions
Set the value of reuse port.
Set the value of reuse port.
This is only supported by native transports.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setSendBufferSize(value: Int): StompClientOptions
Set the TCP send buffer size
Set the TCP send buffer size
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setSoLinger(value: Int): StompClientOptions
Set whether SO_linger keep alive is enabled
Set whether SO_linger keep alive is enabled
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setSsl(value: Boolean): StompClientOptions
Set whether SSL/TLS is enabled
Set whether SSL/TLS is enabled
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpCork(value: Boolean): StompClientOptions
Enable the
TCP_CORK
option - only with linux native transport.Enable the
TCP_CORK
option - only with linux native transport.- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpFastOpen(value: Boolean): StompClientOptions
Enable the
TCP_FASTOPEN
option - only with linux native transport.Enable the
TCP_FASTOPEN
option - only with linux native transport.- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpKeepAlive(value: Boolean): StompClientOptions
Set whether TCP keep alive is enabled
Set whether TCP keep alive is enabled
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpNoDelay(value: Boolean): StompClientOptions
Set whether TCP no delay is enabled
Set whether TCP no delay is enabled
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpQuickAck(value: Boolean): StompClientOptions
Enable the
TCP_QUICKACK
option - only with linux native transport.Enable the
TCP_QUICKACK
option - only with linux native transport.- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTrafficClass(value: Int): StompClientOptions
Set the value of traffic class
Set the value of traffic class
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setTrailingLine(value: Boolean): StompClientOptions
Sets whether or not an empty line should be appended to the written STOMP frame.
Sets whether or not an empty line should be appended to the written STOMP frame. This option is disabled by default. This option is not compliant with the STOMP specification, and so is not documented on purpose.
-
def
setTrustAll(value: Boolean): StompClientOptions
Set whether all server certificates should be trusted
Set whether all server certificates should be trusted
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase
-
def
setTrustStoreOptions(value: JksOptions): StompClientOptions
Set the trust options in jks format, aka Java truststore
Set the trust options in jks format, aka Java truststore
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUseAlpn(value: Boolean): StompClientOptions
Set the ALPN usage.
Set the ALPN usage.
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUsePooledBuffers(value: Boolean): StompClientOptions
Set whether Netty pooled buffers are enabled
Set whether Netty pooled buffers are enabled
- Definition Classes
- StompClientOptions → NetClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUseStompFrame(value: Boolean): StompClientOptions
Sets whether or not the connection is made using the
STOMP
command instead of theCONNECT
command.Sets whether or not the connection is made using the
STOMP
command instead of theCONNECT
command. TheSTOMP
command has been introduced in the 1.2 version of the protocol to ease the network analysis (asCONNECT
is also used by HTTP. To be compliant with server not implementing the 1.2 specification, this option should be disabled. This option is disabled by default. -
def
setVirtualHost(value: String): StompClientOptions
Sets the virtual host that will be used as "host" header value in the
CONNECT
frame. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )