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

Optimise - Allow to turn DataType on or off on Message

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      We can optimise to not create DataType instances on the Message instance if its not really needed.

      Its part of the new route contract where it is used to know the data type and then do contract enforcement and validation/conversion if needed.

      But for regular use-cases it has not so much value ... yet.

      So we should maybe turn it off by default, and allow to turn it on|off, and then turn it on if you use contract enforcement.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: