return consumerParticipantResult;
}
public ProducerParticipantResult createForProducer(String participantName, String clientRegisteredName, CreateProducerCommand command, int acknowledgeMode, int numberOfMessagesSent, int payloadSize, long totalPayloadSent, Date start, Date end)
{
final ProducerParticipantResult producerParticipantResult = new ProducerParticipantResult();
producerParticipantResult.setStartDelay(command.getStartDelay());
producerParticipantResult.setDeliveryMode(command.getDeliveryMode());
producerParticipantResult.setPriority(command.getPriority());
producerParticipantResult.setInterval(command.getInterval());
producerParticipantResult.setTimeToLive(command.getTimeToLive());
producerParticipantResult.setTotalNumberOfConsumers(0);
producerParticipantResult.setTotalNumberOfProducers(1);
setTestProperties(producerParticipantResult, command, participantName, clientRegisteredName, acknowledgeMode);
setTestResultProperties(producerParticipantResult, numberOfMessagesSent, payloadSize, totalPayloadSent, start, end);