Skip to content

Kafka MessageHandler Does Not Synchronize with a non-Kafka TM for Producer-Only Transactions #3600

@garyrussell

Description

@garyrussell

TransactionSynchronizationManager.getResource() returns null when there is an existing synchronizing transaction, so we run in a local transaction.

https://stackoverflow.com/questions/68460690/wrapping-streambridge-send-and-jpa-save-inside-a-transaction/68461298#68461298

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions