Ant Kutschera [
https://community.jboss.org/people/maxant] created the discussion
"Re: JCA Adapter & Recovery"
To view the discussion, visit:
https://community.jboss.org/message/827403#827403
--------------------------------------------------------------
Hmmm, I posted a wrong project at github - I've corrected it now.
The XA Resource is at
https://github.com/maxant/share/blob/master/resourceadapterdemo/SAPConnec...
https://github.com/maxant/share/blob/master/resourceadapterdemo/SAPConnec...
The XASAPResource isn't explicitly used, rather line 44 of
https://github.com/maxant/share/blob/master/resourceadapterdemo/SAPTestCl...
https://github.com/maxant/share/blob/master/resourceadapterdemo/SAPTestCl...
creates an SAPConnection from the injected factory. JBoss creates the XASAPResource by
calling the getXAResource method of the SAPManagedConnection class. Logs show that this
seems to work correctly, at least the way that I expected it to.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/827403#827403]
Start a new discussion in IronJacamar at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]