
ru.tinkoff.gatling.amqp.request.AmqpProtocolMessage.scala 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.request
import com.rabbitmq.client.AMQP
case class AmqpProtocolMessage(
amqpProperties: AMQP.BasicProperties,
payload: Array[Byte],
responseCode: Option[String] = None,
) {
def correlationId(newValue: String): AmqpProtocolMessage =
this.copy(amqpProperties = amqpProperties.builder.correlationId(newValue).build)
def correlationId: String = amqpProperties.getCorrelationId
def messageId(newValue: String): AmqpProtocolMessage =
this.copy(amqpProperties = amqpProperties.builder.messageId(newValue).build)
def messageId: String = amqpProperties.getMessageId
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy