Package org.openeai.jms.consumer.commands

Examples of org.openeai.jms.consumer.commands.SyncCommand


  public void shutdownCommands() {
    // (tj) 4/17/2003 - now, shutdown the commands this consumer executes.
    Iterator it = m_messages.keySet().iterator();
    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.");
      }
View Full Code Here

TOP

Related Classes of org.openeai.jms.consumer.commands.SyncCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.