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

Remove dependency cycles between model and sub packages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M1
    • 2.0-M2
    • camel-core
    • None
    • Patch Available

    Description

      Currently there is a dependency cycle between model and model.loadbalancer and between model and model.dataformat. The reason in both cases that the base classes DataFormatDefinition and LoadBalancerDefinition are in the subpackages but are referenced from model.

      I think the goal should be that model does not reference the subpackages.

      The easy solution is to move the two classes above to model. After the move the cycles are gone.

      Attachments

        1. camel-core.patch
          32 kB
          Christian Schneider
        2. model_after.png
          3 kB
          Christian Schneider
        3. model-before.png
          4 kB
          Christian Schneider

        Activity

          People

            njiang Willem Jiang
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: