Interface SessionCallback<T>

    • Method Detail

      • doInJms

        @Nullable
        T doInJms​(Session session)
           throws JMSException
        Execute any number of operations against the supplied JMS Session, possibly returning a result.
        Parameters:
        session - the JMS Session
        Returns:
        a result object from working with the Session, if any (or null if none)
        Throws:
        JMSException - if thrown by JMS API methods