Skip to content

Add JavaConfig equivalent of tx:jta-transaction-manager [SPR-12197] #16811

@spring-projects-issues

Description

@spring-projects-issues

Marten Deinum opened SPR-12197 and commented

When using xml based configured there is the convenience <tx:jta-transaction-manager/> which does an effort in detecting and configuring the appropriate JtaTransactionManager for the detected platform.

In JavaBased config there is no such option and I feel that for a couple of projects I've written the same code. Would be nice if there would be an option FactoryBean<JtaTransactionManager> maybe? To have this feature in JavaConfig as well.


Affects: 4.0.7, 4.1 GA

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: dataIssues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions