while (it.hasNext()) {
String key = (String)it.next();
SyncCommand s = (SyncCommand)m_messages.get(key);
try {
logger.info("Shutting down SyncCommand '" + key + "'");
s.shutdown();
}
catch (Exception e) {
logger.warn("Error shutting down SyncCommand '" + key +
"' Processing will continue.");
}