接口 SessionCallback<T>

    • 方法详细资料

      • doInJms

        T doInJms​(Session session)
           throws JMSException
        Execute any number of operations against the supplied JMS Session, possibly returning a result.
        参数:
        session - the JMS Session
        返回:
        a result object from working with the Session, if any (or null if none)
        抛出:
        JMSException - if thrown by JMS API methods