final String name = getTextContent(attName);
final QueueConfig qConfig = new QueueConfig();
qConfig.setName(name);
final NodeList nodelist = node.getChildNodes();
for (int i = 0; i < nodelist.getLength(); i++) {
<BUG>final org.w3c.dom.Node n = nodelist.item(i);
final String value = getTextContent(n).trim();
if (n.getNodeName().equalsIgnoreCase("max-size-per-jvm")) {
qConfig.setMaxSizePerJVM(getIntegerValue("max-size-per-jvm", value, Integer.MAX_VALUE));

} else if (n.getNodeName().equalsIgnoreCase("time-to-live-seconds")) {
qConfig.setTimeToLiveSeconds(getIntegerValue("time-to-live-seconds", value, Integer.MAX_VALUE));
</BUG>
}

final String name = getTextContent(attName);
final QueueConfig qConfig = new QueueConfig();
qConfig.setName(name);
final NodeList nodelist = node.getChildNodes();
for (int i = 0; i < nodelist.getLength(); i++) {
final org.w3c.dom.Node n = nodelist.item(i);
final String nodeName = n.getNodeName().toLowerCase();
final String value = getTextContent(n).trim();
if ("max-size-per-jvm".equals(nodeName)) {
qConfig.setMaxSizePerJVM(getIntegerValue("max-size-per-jvm", value, QueueConfig.DEFAULT_MAX_SIZE_PER_JVM));
} else if ("time-to-live-seconds".equals(nodeName)) {
qConfig.setTimeToLiveSeconds(getIntegerValue("time-to-live-seconds", value, QueueConfig.DEFAULT_TTL_SECONDS));
