long pTime = endTime - startTime;
log.debug(" sent all messages in " + ((double)pTime / 1000) + " seconds. ");
}
catch (Exception e)
{
log.error("error", e);
}
}
};
final QueueSession session = queueConnection.createQueueSession(transacted != TRANS_NONE, Session.AUTO_ACKNOWLEDGE);