I'm implementing an XAResourceRecovery class which creates an XAConnection to the jms
server, gets the XAResource and returns that in the getXAResource() method.
This is all fine, but I can't find any lifecycle methods that get called on the
XAResourceRecovery() when the recovery manager is done with it, so we can close any
underlying resources.
At some point we need to close the connection. Without such a lifecycle method how can I
know when it is safe to close the underlying connection?
I can use a finalizer, but I'd rather not.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002343#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...