Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12727

java.util.ConcurrentModificationException at org.apache.camel.impl.DefaultExchange.createProperties(DefaultExchange.java:550) in 2.20.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.20.0
    • 2.23.0
    • camel-core
    • None
    • Camel 2.20.1.

      The exception occurs within a aggregation processor using a custom aggregation strategy and optimistic locking.

    • Unknown
    • Regression

    Description

      A concurrent access exception occurs during our load tests while consuming messages from a rabbitmq queue.

      The call stack embedded below shows that the issue is related to an "optimization" which was introduced in https://issues.apache.org/jira/browse/CAMEL-11330 to replace a ConcurrentHashMap with a regular one from version 2.19.5 to 2.20.0 onward.

      The faulty code is still present in latest 2.22.0.

       

       

      Attachments

        1. dih-error.queue_2 (1).txt
          9 kB
          Philippe Bouteleux

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              boutblock Philippe Bouteleux
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: