
ru.tinkoff.gatling.amqp.javaapi.protocol.RabbitMQConnectionFactoryBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gatling-amqp-plugin_2.13 Show documentation
Show all versions of gatling-amqp-plugin_2.13 Show documentation
Plugin for support performance testing with AMQP in Gatling
The newest version!
package ru.tinkoff.gatling.amqp.javaapi.protocol;
import com.rabbitmq.client.ConnectionFactory;
public class RabbitMQConnectionFactoryBuilder{
private ru.tinkoff.gatling.amqp.protocol.RabbitMQConnectionFactoryBuilder wrapped;
public RabbitMQConnectionFactoryBuilder(ru.tinkoff.gatling.amqp.protocol.RabbitMQConnectionFactoryBuilder wrapped){
this.wrapped = wrapped;
}
public RabbitMQConnectionFactoryBuilder username(String rabbitUsername){
this.wrapped = wrapped.username(rabbitUsername);
return this;
}
public RabbitMQConnectionFactoryBuilder password(String rabbitPassword){
this.wrapped = wrapped.password(rabbitPassword);
return this;
}
public RabbitMQConnectionFactoryBuilder port(Integer port){
this.wrapped = wrapped.port(port);
return this;
}
public RabbitMQConnectionFactoryBuilder vhost(String rabbitVHost){
this.wrapped = wrapped.vhost(rabbitVHost);
return this;
}
public ConnectionFactory build(){
return wrapped.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy