public class UofRabbitConfigurationImpl extends Object implements UofRabbitConfiguration
Constructor and Description |
---|
UofRabbitConfigurationImpl() |
Modifier and Type | Method and Description |
---|---|
Duration |
getConnectionTimeout()
Gets a rabbit timeout setting for connection attempts (in seconds)
Between 10 and 120 (default 30s)
|
Duration |
getHeartBeat()
Gets a heartbeat timeout to use when negotiating with the server (in seconds)
Between 10 and 180 (default 60s)
|
String |
getHost() |
String |
getPassword()
Returns the password of the broker to which you are connecting - this field should be null/blank if
you are connecting to the Sportradar AMQP servers
|
int |
getPort()
Gets the port used to connect to AMQP broker
|
String |
getUsername()
Returns the username of the broker to which you are currently connecting - this field should be null/blank if
you are connecting to the Sportradar AMQP servers
|
boolean |
getUseSsl()
Gets a value indicating whether SSL should be used when connecting to AMQP broker
|
String |
getVirtualHost()
Returns the custom set messaging virtual host
|
void |
setHost(String messagingHost) |
void |
setPassword(String messagingPassword) |
void |
setPort(int messagingPort) |
void |
setUsername(String messagingUsername) |
void |
setVirtualHost(String messagingVirtualHost) |
String |
toString() |
void |
useSsl(boolean messagingUseSsl) |
public String getHost()
getHost
in interface UofRabbitConfiguration
public int getPort()
UofRabbitConfiguration
getPort
in interface UofRabbitConfiguration
public boolean getUseSsl()
UofRabbitConfiguration
getUseSsl
in interface UofRabbitConfiguration
public String getUsername()
UofRabbitConfiguration
getUsername
in interface UofRabbitConfiguration
public String getPassword()
UofRabbitConfiguration
getPassword
in interface UofRabbitConfiguration
public String getVirtualHost()
UofRabbitConfiguration
getVirtualHost
in interface UofRabbitConfiguration
public Duration getConnectionTimeout()
UofRabbitConfiguration
getConnectionTimeout
in interface UofRabbitConfiguration
public Duration getHeartBeat()
UofRabbitConfiguration
getHeartBeat
in interface UofRabbitConfiguration
public void setHost(String messagingHost)
public void setPort(int messagingPort)
public void useSsl(boolean messagingUseSsl)
public void setUsername(String messagingUsername)
public void setPassword(String messagingPassword)
public void setVirtualHost(String messagingVirtualHost)
Copyright © 2016–2025. All rights reserved.