Chris Watts created CAMEL-8054:
----------------------------------
Summary: Use SharedEntityManager to reduce connections
Key: CAMEL-8054
URL: https://issues.apache.org/jira/browse/CAMEL-8054
Project: Camel
Issue Type: New Feature
Components: camel-jpa
Affects Versions: 2.13.2
Reporter: Chris Watts
When using JpaTransactionManager it "Binds a JPA EntityManager from the
specified factory to the thread". Meaning that on top of the EntityManager
created for each JpaConsumer, each time it creates a new EntityManager.
New property:
*sharedEntityManager* - whether to use spring's SharedEntityManager for the
consumer/producer. Sets joinTransaction=false
Also added as a property to the JpaComponent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)