With AG-206 support for LRCO and non-XADataSources was added, but it seems like a non-XADataSource is unnecessarily registered with XARecoveryRegistry now. While this does not actually create a problem it does unnecesserily log warnings when trying to get a RecoveryConnection (from ConnectionFactory#getRecoveryConnection): "Recovery connections are only available for XADataSource)
It seems like when a DataSource is being configured, if it is not actually an XADataSource (for instance a "connectable" DataSource), that it also should not be registered in the RecoveryRegistry.
- is caused by
-
AG-206 [spring] Improve DataSourceConfiguration
- Closed