Package com.rabbitmq.client
Class ConnectionPostProcessors.Builder
- java.lang.Object
-
- com.rabbitmq.client.ConnectionPostProcessors.Builder
-
- Enclosing class:
- ConnectionPostProcessors
public static class ConnectionPostProcessors.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionPostProcessors.Builder
add(ConnectionPostProcessor connectionPostProcessor)
Add an extra post-processing step.ConnectionPostProcessor
build()
Return the configuredConnectionPostProcessor
.ConnectionPostProcessors.Builder
enableHostnameVerification(HostnameVerifier hostnameVerifier)
Enable hostname verification enforced by the providedHostnameVerifier
.
-
-
-
Method Detail
-
enableHostnameVerification
public ConnectionPostProcessors.Builder enableHostnameVerification(HostnameVerifier hostnameVerifier)
Enable hostname verification enforced by the providedHostnameVerifier
.- Parameters:
hostnameVerifier
-- Returns:
-
add
public ConnectionPostProcessors.Builder add(ConnectionPostProcessor connectionPostProcessor)
Add an extra post-processing step.- Parameters:
connectionPostProcessor
-- Returns:
-
build
public ConnectionPostProcessor build()
Return the configuredConnectionPostProcessor
.- Returns:
-
-