You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stéphane Deraco (JIRA)" <ji...@apache.org> on 2013/11/24 15:04:35 UTC

[jira] [Created] (CAMEL-7006) Make method asService protected in class CamelBlueprintTestSupport

Stéphane Deraco created CAMEL-7006:
--------------------------------------

             Summary: Make method asService protected in class CamelBlueprintTestSupport 
                 Key: CAMEL-7006
                 URL: https://issues.apache.org/jira/browse/CAMEL-7006
             Project: Camel
          Issue Type: Wish
          Components: camel-blueprint
    Affects Versions: 2.12.0, 2.11.2
            Reporter: Stéphane Deraco
            Priority: Minor


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}}.



--
This message was sent by Atlassian JIRA
(v6.1#6144)