接口 BrowserCallback<T>

    • 方法详细资料

      • doInJms

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