Interface UofRabbitConfiguration
- All Known Implementing Classes:
UofRabbitConfigurationImpl
public interface UofRabbitConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionGets a rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s)Gets a heartbeat timeout to use when negotiating with the server (in seconds) Between 10 and 180 (default 60s)getHost()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 serversintgetPort()Gets the port used to connect to AMQP brokerReturns 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 serversbooleanGets a value indicating whether SSL should be used when connecting to AMQP brokerReturns the custom set messaging virtual host
-
Method Details
-
getHost
String getHost()- Returns:
- Host / IP for connection as provided by Sportradar
-
getPort
int getPort()Gets the port used to connect to AMQP broker- Returns:
- the port used to connect to AMQP broker
-
getUseSsl
boolean getUseSsl()Gets a value indicating whether SSL should be used when connecting to AMQP broker- Returns:
- a value indicating whether SSL should be used when connecting to AMQP broker
-
getUsername
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- Returns:
- the username of the broker to which you are connecting
-
getPassword
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- Returns:
- the password of the broker to which you are connecting
-
getVirtualHost
String getVirtualHost()Returns the custom set messaging virtual host- Returns:
- the custom messaging virtual host
-
getConnectionTimeout
Duration getConnectionTimeout()Gets a rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s)- Returns:
- a rabbit timeout setting for connection attempts (in seconds)
-
getHeartBeat
Duration getHeartBeat()Gets a heartbeat timeout to use when negotiating with the server (in seconds) Between 10 and 180 (default 60s)- Returns:
- a heartbeat timeout to use when negotiating with the server (in seconds)
-