btm icon indicating copy to clipboard operation
btm copied to clipboard

Support custom XAResourceProducer implementations in ResourceLoader

Open klr8 opened this issue 8 years ago • 1 comments

The ResourceLoader is hard-coded to support two types of XAResourceProducer implementations: the PoolingDataSource for a JDBC XADataSource and the PoolingConnectionFactory for a JMX XAConnectionFactory.

We have our own custom XAResourceProducer implementations and currently we need to manually register them with the transaction manager (ResourceRegistrar). This is inconvenient.

I would like to request the ResourceLoader be enhanced to support custom XAResourceProducer implementations. Maybe it can recognize a "resource.name.producerClassName" property in the properties file and if (optionally) specified use that?

klr8 avatar Aug 30 '17 11:08 klr8

Interesting. This could be done, but only if you're willing to spend the time doing it yourself as well as handling all the release work.

Please contact me privately if you feel like it.

lorban avatar Aug 30 '17 12:08 lorban