[jboss-user] [IronJacamar] - Re: XAResourceRecovery Configuration in AS7

Jesper Pedersen do-not-reply at jboss.com
Wed Jun 13 08:09:08 EDT 2012


Jesper Pedersen [https://community.jboss.org/people/jesper.pedersen] created the discussion

"Re: XAResourceRecovery Configuration in AS7"

To view the discussion, visit: https://community.jboss.org/message/741451#741451

--------------------------------------------------------------
Stan, you should probably use either the META-INF/ironjacamar.xml for auto activation of the resource adapter during startup, or the <resource-adapter> element for external activation configuration. Futhermore, you should be using <xa-pool>.

Using a custom implementation of XAResourceRecovery isn't part of the SPI contract between IronJacamar and JBossTS - so it isn't supported (same goes for AS7). What is supported is the ability to specify a recovery plugin for your resource adapter deployment in order to control the lifecycle of the managed connection that is used for recovery.

There are 3 standard implementations:

* org.jboss.jca.core.recovery.DefaultRecoveryPlugin
* org.jboss.jca.core.recovery.ConfigurableRecoveryPlugin
* org.jboss.jca.core.recovery.ValidatingManagedConnectionFactoryRecoveryPlugin

which all implements the "org.jboss.jca.core.spi.recovery.RecoveryPlugin" SPI interface. See the <recovery> element for additional details.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/741451#741451]

Start a new discussion in IronJacamar at Community
[https://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/20120613/75e2f063/attachment.html 


More information about the jboss-user mailing list