Package com.rabbitmq.client
Class SocketConfigurators.Builder
java.lang.Object
com.rabbitmq.client.SocketConfigurators.Builder
- Enclosing class:
SocketConfigurators
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(SocketConfigurator extraConfiguration) Add an extra configuration step.build()
Return the configuredSocketConfigurator
.Set default configuration.Disable Nagle's Algorithm.Enable server hostname verification for TLS connections.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultConfigurator
Set default configuration.- Returns:
-
disableNagleAlgorithm
Disable Nagle's Algorithm.- Returns:
-
enableHostnameVerification
Enable server hostname verification for TLS connections.- Returns:
-
add
Add an extra configuration step.- Parameters:
extraConfiguration
-- Returns:
-
build
Return the configuredSocketConfigurator
.- Returns:
-