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

Make method asService protected in class CamelBlueprintTestSupport

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.11.2, 2.12.0
    • Fix Version/s: 2.11.3, 2.12.3, 2.13.0
    • Component/s: camel-blueprint
    • Labels:
      None
    • Estimated Complexity:
      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

            • Assignee:
              njiang Willem Jiang
              Reporter:
              stephane_deraco St├ęphane Deraco

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment