result.setResponseCodeOK();
result.setResponseMessage(loop + " message(s) received successfully");
</BUG>
result.setSamplerData(loop + " messages expected");
<BUG>result.setSampleCount(loop);
</BUG>
return result;
}
public synchronized void onMessage(Message message) {
if (message instanceof TextMessage) {

result.setResponseCodeOK();
}
result.setResponseMessage(read + " message(s) received successfully");
result.setSamplerData(loop + " messages expected");
result.setSampleCount(read);
return result;
}
public synchronized void onMessage(Message message) {
if (message instanceof TextMessage) {
