Zheng Feng created CAMEL-18377:
----------------------------------
Summary: camel-jpa producer does not reuse existing EntityManager
in transaction and create its own one
Key: CAMEL-18377
URL: https://issues.apache.org/jira/browse/CAMEL-18377
Project: Camel
Issue Type: Bug
Components: camel-jpa
Affects Versions: 3.18.0
Reporter: Zheng Feng
Assignee: Zheng Feng
camel-jpa producer does not reuse the existing EntityManager in transaction
and create its own one.
This happens when JpaTransactionManager is used. It creates an EntityManager
for transactions in the doBegin() method.
So there will be two EntityManagers and two connections even if there is only
one route for the jpa producer.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)