Package hermes.impl

Examples of hermes.impl.TopicBrowser$Enumeration


  public MessageRenderer getMessageRenderer() throws JMSException {
    return null;
  }

  public QueueBrowser createDurableSubscriptionBrowser(DestinationConfig dConfig) throws JMSException {
    return new TopicBrowser(getHermes().getSession(), getHermes().getDestinationManager(), dConfig);
  }
View Full Code Here


        return ((QueueSession) getSession()).createBrowser(queue, config.getSelector());
      } else {
        return ((QueueSession) getSession()).createBrowser(queue);
      }
    } else if (config.getDomain() == Domain.TOPIC.getId()) {
      return new TopicBrowser(hermes.getSession(), destinationManager, config);
    } else {
      throw new HermesException("The domain for " + config.getName() + " is not defined, configure it as a queue or a topic");
    }

  }
View Full Code Here

TOP

Related Classes of hermes.impl.TopicBrowser$Enumeration

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.