[
https://issues.apache.org/jira/browse/CAMEL-7006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831418#comment-13831418
]
Stéphane Deraco commented on CAMEL-7006:
----------------------------------------
Hi,
I create a pull-request (from Github): https://github.com/apache/camel/pull/61
Stéphane
> 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.11.2, 2.12.0
> 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)