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

Make method asService protected in class CamelBlueprintTestSupport

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.2, 2.12.0
    • 2.11.3, 2.12.3, 2.13.0
    • camel-blueprint
    • None
    • Unknown

    Description

      In camel-test-blueprint, Camel version 2.11.2 and 2.12.0 added the possibilty to add OSGi services at startup using the protected method addServicesOnStartup of CamelBlueprintTestSupport class.

      In the Javadoc and in the wiki it says that we can use the method asService to register a service with a single property.

      However, this method has no modifier. It is not protected, so we can not use it in our test classes (unless they belongs to the same package of CamelBlueprintTestSupport.

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              stephane_deraco Stéphane Deraco
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: