Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-11915

Using JPA component in Split block lead to various errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.Next.GA
    • 3.20.0.GA
    • Camel
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Important
    • 0

      I have a producer to demonstrates a concurrency issue raising various exceptions uncontrollably on running parallel processing split block within which I try to execute inputs via JPA Camel component.

      Please see the producer project below:
      https://github.com/roman-hoher/parallel-processing-issue

      The Example output:

      #################################
      ERROR SUMMARY
      Exception types: 7
      Total exception occurrences: 47
      #################################
      8 java.lang.IllegalStateException
      4 org.hibernate.AssertionFailure
      1 org.hibernate.sql.exec.ExecutionException
      21 org.hibernate.exception.GenericJDBCException
      1 org.hibernate.HibernateException
      9 java.util.ConcurrentModificationException
      3 java.lang.NullPointerException
      #################################

      Only when specify a single thread with the block, the test result would be ok without any exception.

              jondruse@redhat.com Jiri Ondrusek
              rhn-support-qluo Joe Luo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: