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

camel-test - Should use lazy loading of type converters to speedup unit testing

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0
    • Component/s: camel-test, tests
    • Labels:
      None

      Description

      This makes unit tests faster with Camel.

      End users can override the isLazyLoadingTypeConverter method from CamelTestSupport if they want to control the behavior.
      If you return false, then its what it used to be before this change.

      Notice that Camel will still by default always load all type converters on startup.
      By enabling lazy loading during testing it allows most unit tests to run faster, in case they dont need any additional type converter from other camel components.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: