diff --git a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java index 315ffa94f6917..96a595448bef7 100644 --- a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java +++ b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java @@ -154,14 +154,14 @@ protected void addServicesOnStartup(Map asService(Object service, Dictionary dict) { + protected KeyValueHolder asService(Object service, Dictionary dict) { return new KeyValueHolder(service, dict); } /** * Creates a holder for the given service, which make it easier to use {@link #addServicesOnStartup(java.util.Map)} */ - KeyValueHolder asService(Object service, String key, String value) { + protected KeyValueHolder asService(Object service, String key, String value) { Properties prop = new Properties(); if (key != null && value != null) { prop.put(key, value);