
ru.tinkoff.gatling.amqp.javaapi.request.RequestReplyDslBuilderMessage 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.request;
import java.nio.charset.Charset;
import static io.gatling.javaapi.core.internal.Expressions.*;
public class RequestReplyDslBuilderMessage {
private ru.tinkoff.gatling.amqp.request.RequestReplyDslBuilderMessage wrapped;
public RequestReplyDslBuilderMessage(ru.tinkoff.gatling.amqp.request.RequestReplyDslBuilderMessage wrapped){
this.wrapped = wrapped;
}
public RequestReplyDslBuilderMessage replyExchange(String name){
this.wrapped = wrapped.replyExchange(toStringExpression(name));
return this;
}
public RequestReplyDslBuilderMessage noReplyTo(){
this.wrapped = wrapped.noReplyTo();
return this;
}
public RequestReplyDslBuilder textMessage(String text){
return textMessage(text, io.gatling.core.Predef.configuration().core().charset());
}
public RequestReplyDslBuilder textMessage(String text, Charset charset){
return new RequestReplyDslBuilder(wrapped.textMessage(toStringExpression(text), charset));
}
public RequestReplyDslBuilder bytesMessage(byte[] bytes){
return new RequestReplyDslBuilder(wrapped.bytesMessage(toStaticValueExpression(bytes)));
}
public RequestReplyDslBuilder bytesMessage(String el){
return new RequestReplyDslBuilder(wrapped.bytesMessage(toBytesExpression(el)));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy