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)