Package com.persequor.extension.rabbitmq
Interface IRabbitMqClientBuilder
public interface IRabbitMqClientBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()setAddresses(String addresses) Comma separated hostname:port pairs to specify multiple hosts to connect to RabbitMq cluster.Allows to specify default hostname for the rabbit connection.setPassword(String password) setPort(int port) setUsername(String username) setVirtualHost(String virtualHost)
-
Method Details
-
setHost
Allows to specify default hostname for the rabbit connection. Will be used if no addresses are specified.- Parameters:
hostName-- Returns:
- builder
-
setPort
-
setUsername
-
setPassword
-
setVirtualHost
-
setAddresses
Comma separated hostname:port pairs to specify multiple hosts to connect to RabbitMq cluster. Will be used instead of host if specified.- Parameters:
addresses-- Returns:
- builder
-
build
IRabbitMqClient build()
-