Class JmsPoolQueueBrowser

java.lang.Object
org.messaginghub.pooled.jms.JmsPoolQueueBrowser
All Implemented Interfaces:
AutoCloseable, javax.jms.QueueBrowser

public class JmsPoolQueueBrowser extends Object implements javax.jms.QueueBrowser, AutoCloseable
A QueueBrowser which was created by JmsPoolSession.
  • Constructor Details

    • JmsPoolQueueBrowser

      public JmsPoolQueueBrowser(JmsPoolSession session, javax.jms.QueueBrowser delegate)
      Wraps the QueueBrowser.
      Parameters:
      session - the pooled session that created this object.
      delegate - the created QueueBrowser to wrap.
  • Method Details

    • getQueue

      public javax.jms.Queue getQueue() throws javax.jms.JMSException
      Specified by:
      getQueue in interface javax.jms.QueueBrowser
      Throws:
      javax.jms.JMSException
    • getMessageSelector

      public String getMessageSelector() throws javax.jms.JMSException
      Specified by:
      getMessageSelector in interface javax.jms.QueueBrowser
      Throws:
      javax.jms.JMSException
    • getEnumeration

      public Enumeration<?> getEnumeration() throws javax.jms.JMSException
      Specified by:
      getEnumeration in interface javax.jms.QueueBrowser
      Throws:
      javax.jms.JMSException
    • close

      public void close() throws javax.jms.JMSException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface javax.jms.QueueBrowser
      Throws:
      javax.jms.JMSException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getQueueBrowser

      public javax.jms.QueueBrowser getQueueBrowser() throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException