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&...]