Jiri Ondrusek created CAMEL-22534:
-------------------------------------

             Summary: JPA: fails if used with splitter (with parallelProcessing)
                 Key: CAMEL-22534
                 URL: https://issues.apache.org/jira/browse/CAMEL-22534
             Project: Camel
          Issue Type: Bug
    Affects Versions: 4.15.0
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


The entityManager is not thread-safe, therefore if the jpa is used with 
splitter, with parallelProcessifng mode enabled, the jpa does not work 
correctly. The result might be large variety of exceptions like 
(sql.exec.ExecutionException, org.hibernate.exception.GenericJDBCException, 
java.util.ConcurrentModificationException and probably others)



It would be nice if such configuration worked out of the box.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to