Skip to content
New issue

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

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

Already on GitHub? # to your account

Investigate the invalid creation of transaction manager #954

Open
cppwfs opened this issue Dec 3, 2024 · 1 comment
Open

Investigate the invalid creation of transaction manager #954

cppwfs opened this issue Dec 3, 2024 · 1 comment
Milestone

Comments

@cppwfs
Copy link
Collaborator

cppwfs commented Dec 3, 2024

Based on the following comment: #769 (comment), a transaction manager is still being created eventhough the spring.cloud.task.transaction-manager is being used.

Investigate.

@loki-y-chen
Copy link

I have set the following property:

spring.cloud.task.transaction-manager=transactionManager

This allows the transactionManager created by DataSourceTransactionManagerAutoConfiguration to work correctly.

However, when I add the following additional setting:

spring.cloud.task.transaction-manager=transactionManager
spring.cloud.task.single-instance-enable=true

It breaks because it cannot find a bean named springCloudTaskTransactionManager.

Image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants