JBoss Community

Re: XAResourceRecovery Configuration in AS7

created by Jesper Pedersen in IronJacamar - View the full discussion

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

Start a new discussion in IronJacamar at Community