Bugs item #526696, was opened at 2002-03-06 23:18 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=526696&group_id=22866
Category: JBossMQ Group: v2.4 (stable) Status: Open Resolution: None Priority: 5 Submitted By: Kelly McTiernan (kellymct) Assigned to: Nobody/Anonymous (nobody) Summary: session.recover() doesn't work Initial Comment: All operating systems. Any version of Java. N/A. Call session.recover(). According to the JMS spec, a call to session.recover() from a transacted session should return an IllegalStateException. This it does, with the message: The session is trasacted. When called with a non-transacted session, however, recover still throws an IllegalStateException, this time with the message: The session is not transacted. Looking into the code a little, it turns out that the recover() method does a check for the session being transacted, and throws the IllegalStateException with the second message if it is. Then it proceeds to call rollback(), which does a check for the session NOT being transacted, and throws the IllegalStateException with the second message if it's not. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=526696&group_id=22866 _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
