
ru.tinkoff.gatling.amqp.javaapi.request.PublishDslBuilderMessage 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 PublishDslBuilderMessage {
private final ru.tinkoff.gatling.amqp.request.PublishDslBuilderMessage wrapped;
public PublishDslBuilderMessage(ru.tinkoff.gatling.amqp.request.PublishDslBuilderMessage wrapped){
this.wrapped = wrapped;
}
public PublishDslBuilder textMessage(String text){
return textMessage(text, io.gatling.core.Predef.configuration().core().charset());
}
public PublishDslBuilder textMessage(String text, Charset charset){
return new PublishDslBuilder(wrapped.textMessage(toStringExpression(text), charset));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy