Package org.xmlBlaster.engine.query.plugins

Examples of org.xmlBlaster.engine.query.plugins.QueueQueryPlugin


    * @param querySpec Can be configured to be consuming
    * @see <a href="http://www.xmlBlaster.org/xmlBlaster/doc/requirements/engine.qos.queryspec.QueueQuery.html">The engine.qos.queryspec.QueueQuery requirement</a>
    */
   public MsgUnit[] getHistoryQueueEntries(String querySpec) throws XmlBlasterException {
      if (this.queueQueryPlugin == null) {
         this.queueQueryPlugin = new QueueQueryPlugin(this.serverScope);
      }
      this.serverScope.getTopicAccessor().release(this); // In case we were locked and now block forever!
      return this.queueQueryPlugin.query(this.historyQueue, querySpec);
   }
View Full Code Here


    */
   public MsgUnit[] getSubjectQueueEntries(String querySpec) throws XmlBlasterException {
      if (this.queueQueryPlugin == null) {
         synchronized (this) {
            if (this.queueQueryPlugin == null) {
               this.queueQueryPlugin = new QueueQueryPlugin(this.glob);
            }
         }
      }
      return this.queueQueryPlugin.query(this.subjectQueue, querySpec);
   }
View Full Code Here

   public MsgUnit[] getCallbackQueueEntries(String query) throws XmlBlasterException {
      if (this.queueQueryPlugin == null) {
         synchronized (this) {
            if (this.queueQueryPlugin == null) {
               this.queueQueryPlugin = new QueueQueryPlugin(this.glob);
            }
         }
      }
      return this.queueQueryPlugin.query(this.sessionQueue, query);
   }
View Full Code Here

TOP

Related Classes of org.xmlBlaster.engine.query.plugins.QueueQueryPlugin

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.