Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom XAResourceProducer implementations in ResourceLoader #89

Open
klr8 opened this issue Aug 30, 2017 · 1 comment
Open

Support custom XAResourceProducer implementations in ResourceLoader #89

klr8 opened this issue Aug 30, 2017 · 1 comment

Comments

@klr8
Copy link

klr8 commented Aug 30, 2017

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?

@lorban
Copy link
Contributor

lorban commented Aug 30, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants