Package hermes.browser.tasks

Examples of hermes.browser.tasks.TruncateQueueTask


   /**
    * Create an action to truncate all messages on a queue.
    */
   public TruncateQueueTask createTruncateAction(Hermes hermes, DestinationConfig destination, BrowserAction action) throws JMSException
   {
      TruncateQueueTask rval = new TruncateQueueTask(hermes, destination, action, true);

      rval.start();

      return rval;
   }
View Full Code Here


   /**
    * Create action to truncate a set of messages from a queue
    */
   public TruncateQueueTask createTruncateAction(Hermes hermes, DestinationConfig destination, Collection messageIds, boolean warning, BrowserAction action) throws JMSException
   {
      TruncateQueueTask rval = new TruncateQueueTask(hermes, destination, messageIds, action, warning);

      rval.start();

      return rval;
   }
View Full Code Here

TOP

Related Classes of hermes.browser.tasks.TruncateQueueTask

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.