Camel
  1. Camel
  2. CAMEL-4573

camel-bindy BindyFixedLength parser is not Thread Safe while marshalling.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.8.3, 2.9.0
    • Component/s: camel-bindy
    • Labels:
    • Environment:

      linux, windows

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Advanced

      Description

      Camel Fixed Length Parser. Not Threadsafe, as instance variable private Map<Integer, List<String>> results; is being used while marshalling/unbinding. Inconsistencies in multithreaded environment causing data from different threads being used.

      Very similar to BUG 4311 ( for KeyValuePair Parser)

        Activity

        Hide
        surya added a comment -

        Fixed the Code, Changed instance variable to local one so that it is thread safe.

        Show
        surya added a comment - Fixed the Code, Changed instance variable to local one so that it is thread safe.
        Hide
        Claus Ibsen added a comment -

        Thanks for the patch. I fixed the same issue in the CSV as well. So all three is now fixed.

        Show
        Claus Ibsen added a comment - Thanks for the patch. I fixed the same issue in the CSV as well. So all three is now fixed.

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            surya
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development