Ben Ritchie [
http://community.jboss.org/people/BenR] replied to the discussion
"XA Recovery"
To view the discussion, visit:
http://community.jboss.org/message/551041#551041
--------------------------------------------------------------
Jonathan Halliday wrote:
Application writer? Last I heard you were an MQ dev at IBM, not an end user.
It's not mutually exclusive. If people are using this in production unaware that they
can't do transaction recovery then i'm quite keen to know about it and (if
necessary) point them at the relevant config.
Jonathan Halliday wrote:
- you're basically referring to JCA 1.5 section 12.5.2 I think.
ResourceAdapter.getXAResources(javax.resource.spi.ActivationSpec[] activationSpecs)
I'm guessing that's an implementation decision based on the assumption that a call
to ManagedConnection.getXAResource().recover() will return equivalent information instead.
I don't think it's a safe assumption though - you can define an activationSpec
without a corresponding MCF, so there's no guarantee you can get the necessary
information to drive recovery
12.5.2 reads to me as if the server must call ResourceAdapter.getXAResources(...) to do
recovery, although there may be something elsewhere that overrides that section - it's
been a while since I read the spec in detail.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/551041#551041]
Start a new discussion in JCA at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]