Package hermes.impl

Examples of hermes.impl.QueueBrowserWithConsumer


  protected QueueBrowser createBrowser(Destination destination, DestinationConfig dConfig) throws JMSException {
    if (dConfig.getDomain() == Domain.QUEUE.getId() && hermes.getSessionConfig().isUseConsumerForQueueBrowse()) {
      log.debug("using a MessageConsumer for the QueueBrowse");

      return new QueueBrowserWithConsumer(hermes, (Queue) destination, dConfig.getSelector(), HermesBrowser.getBrowser().getQueueBrowseConsumerTimeout());
    } else {
      return hermes.createBrowser(dConfig);
    }
  }
View Full Code Here

TOP

Related Classes of hermes.impl.QueueBrowserWithConsumer

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.