timeToLive,
interval,
startDelay,
providerName);
CreateProducerCommand command = producerConfig.createCommand("session1");
assertEquals("session1", command.getSessionName());
assertEquals("producer1", command.getParticipantName());
assertEquals(destination, command.getDestinationName());
assertEquals(numberOfMessages, command.getNumberOfMessages());
assertEquals(batchSize, command.getBatchSize());
assertEquals(maximumDuration, command.getMaximumDuration());
assertEquals(DeliveryMode.NON_PERSISTENT, command.getDeliveryMode());
assertEquals(messageSize, command.getMessageSize());
assertEquals(priority, command.getPriority());
assertEquals(timeToLive, command.getTimeToLive());
assertEquals(interval, command.getInterval());
assertEquals(startDelay, command.getStartDelay());
assertEquals(providerName, command.getMessageProviderName());
}