sender = qs.createSender(dest);
TextMessage reply = qs.createTextMessage();
reply.setText(msg + " : " + msgID);
reply.setIntProperty("UNIQUE_ID", msgID);
reply.setLongProperty("Elapsed", elapsed);
sender.send(reply, DeliveryMode.NON_PERSISTENT, Message.DEFAULT_PRIORITY, 180000);
log.info("Message sent");
}
finally
{
if (sender != null)