Example #1
0
 /**
  * Start the activation
  *
  * @throws ResourceException Thrown if an error occurs
  */
 public void start() throws ResourceException {
   if (HornetQActivation.trace) {
     HornetQRALogger.LOGGER.trace("start()");
   }
   deliveryActive.set(true);
   ra.getWorkManager().scheduleWork(new SetupActivation());
 }
Example #2
0
  /**
   * Get the work manager
   *
   * @return The value
   */
  public WorkManager getWorkManager() {
    if (HornetQActivation.trace) {
      HornetQRALogger.LOGGER.trace("getWorkManager()");
    }

    return ra.getWorkManager();
  }