Interface BrowserCallback<T>

    • Method Detail

      • doInJms

        T doInJms​(Session session,
                  QueueBrowser browser)
           throws JMSException
        Perform operations on the given Session and QueueBrowser.
        Parameters:
        session - the JMS Session object to use
        browser - the JMS QueueBrowser object to use
        Returns:
        a result object from working with the Session, if any (or null if none)
        Throws:
        JMSException - if thrown by JMS API methods