When calling session.recover, the message was being ACKed only when session.close was
called.
Even when you don't have anything to recover, SessionAspect::handleRecover was setting
recoverCalled to true, and handlePostDeliver wouldn't be able to ACK anything.
This would be okay if the client aways called session.close afterward... but for
instance when using JCA the session is never closed (well.. at least for the life cycle of
a testcase).
So.. I'm now only setting recoverCalled if there is anything to be recovered, so this
would be okay.
I have added XATestBase::testRecoverOnXA with an expected behavior. We could change this
anyway we want as long this test works.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042283#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...