Class DataSourceXAResourceRecoveryHelper

java.lang.Object
org.frankframework.jta.narayana.DataSourceXAResourceRecoveryHelper
All Implemented Interfaces:
com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper, XAResource, org.jboss.tm.XAResourceWrapper

public class DataSourceXAResourceRecoveryHelper extends Object implements com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper, XAResource, org.jboss.tm.XAResourceWrapper
XAResourceRecoveryHelper implementation which gets XIDs, which needs to be recovered, from the database. See org.springframework.boot.jta.narayana.DataSourceXAResourceRecoveryHelper. This class has been extended with a ConnectionManager to ensure operations can succeed. This has been copied from the JmsXAResourceRecoveryHelper.

Required as we wrap the connection in a pooling-capable factory, and do not use the native Narayana connection factory.

Additionally, this also implements `XAResourceWrapper`, which (AFAIK) only adds debug info. See XAResourceRecord#getJndiName()

Author:
Gytis Trikleris, Niels Meijer