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

Camel-scr todos and polish

    XMLWordPrintableJSON

    Details

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

      Description

      Visibility / access:

      • Make context private. Use getter.
      • Get rid of registry member variable. Get registry through context when needed.
      • Make methods that are not supposed to be overriden final.

      Customization:

      • User can customize context's registry by overriding createRegistry() methods. Returns SimpleRegistry by default.
      • Remove hardcoded defaults from setupCamelContext().

      Corrections:

      • Do not explicitly create an OsgiServiceRegistry for OsgiDefaultCamelContext. The context will create one anyway and combine it with whatever createRegistry(BundleContext) returns in a CompositeRegistry.
      • Make camel-archetype-scr integration test run with Maven 3.3.9.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: