@Requires(property="nats.servers") @EachProperty(value="nats.servers") public class ClusterNatsConnectionFactoryConfig extends NatsConnectionFactoryConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
ClusterNatsConnectionFactoryConfig.DefaultTlsConfiguration |
NatsConnectionFactoryConfig.TLS| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFIX |
| Constructor and Description |
|---|
ClusterNatsConnectionFactoryConfig(java.lang.String name)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setTls(@NotNull ClusterNatsConnectionFactoryConfig.DefaultTlsConfiguration tls)
Sets the tls configuration.
|
getAddresses, getConnectionTimeout, getCredentials, getInboxPrefix, getMaxReconnect, getName, getPassword, getPingInterval, getReconnectBufferSize, getReconnectWait, getToken, getUsername, isNoEcho, isUtf8Support, setAddresses, setConnectionTimeout, setCredentials, setInboxPrefix, setMaxReconnect, setNoEcho, setPassword, setPingInterval, setReconnectBufferSize, setReconnectWait, setTls, setToken, setUsername, setUtf8Support, toOptionsBuilderpublic static final java.lang.String PREFIX
public ClusterNatsConnectionFactoryConfig(@Parameter(value="name")
java.lang.String name)
name - The connection namepublic void setTls(@NotNull
@NotNull ClusterNatsConnectionFactoryConfig.DefaultTlsConfiguration tls)
tls - The tls configuration