[jboss-user] [JCA] - XA Recovery

Ben Ritchie do-not-reply at jboss.com
Mon Jul 5 10:11:45 EDT 2010


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&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100705/f14ff086/attachment.html 


More information about the jboss-user mailing list