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

        surya created issue -
        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.
        surya made changes -
        Field Original Value New Value
        Attachment camel_bindy_patch_4573 [ 12500279 ]
        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.
        Claus Ibsen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.8.3 [ 12318649 ]
        Resolution Fixed [ 1 ]
        Claus Ibsen made changes -
        Assignee Claus Ibsen [ davsclaus ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        6h 9m 1 Claus Ibsen 22/Oct/11 09:41

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development