SenderJob sender = createDefaultSenderJob(testQueueName); sender.setNumMessages(10000); sender.setMsgSize(1024);
SenderJob sender = createDefaultSenderJob(queueName); sender.setNumMessages(numMessages); sender.setMsgSize(standardMessageSize);
   public void testQueue4()   {      log.info("Running test Queue4");            //First drain the destination      runJob(createDefaultDrainJob(testQueueName));            SenderJob sender = createDefaultSenderJob(testQueueName);      sender.setNumMessages(10000);      sender.setMsgSize(1024);      sender.setMf(new BytesMessageMessageFactory());      sender.setTransacted(true);      sender.setTransactionSize(100);      sender.setDeliveryMode(DeliveryMode.PERSISTENT);            long result = runJob(sender).getTestTime();            storeResult("Queue4", result);            log.info("Test Queue4 finished");   }