Examples of TruncateQueueTask


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

Examples of hermes.browser.tasks.TruncateQueueTask

   /**
    * 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
Copyright © 2018 www.massapi.com. 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.