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

KuraRouter should provide required and optional service resolvers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.0
    • Fix Version/s: 2.17.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Current service(Class) method returns NPE for OSGi services not available in Kura. We should provide two methods instead:

      • service(Class)
      • requiredService(Class)

      Where the first method can return null.

        Attachments

          Activity

            People

            • Assignee:
              hekonsek Henryk Konsek
              Reporter:
              hekonsek Henryk Konsek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: