Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 640E810FC6 for ; Mon, 25 Nov 2013 12:35:37 +0000 (UTC) Received: (qmail 25810 invoked by uid 500); 25 Nov 2013 12:35:36 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 25694 invoked by uid 500); 25 Nov 2013 12:35:36 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 25665 invoked by uid 99); 25 Nov 2013 12:35:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 12:35:35 +0000 Date: Mon, 25 Nov 2013 12:35:35 +0000 (UTC) From: =?utf-8?Q?St=C3=A9phane_Deraco_=28JIRA=29?= To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CAMEL-7006) Make method asService protected in class CamelBlueprintTestSupport MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-7006?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1383= 1418#comment-13831418 ]=20 St=C3=A9phane Deraco edited comment on CAMEL-7006 at 11/25/13 12:33 PM: ------------------------------------------------------------------- Hi, I created a pull-request (from Github): https://github.com/apache/camel/pul= l/61 St=C3=A9phane was (Author: stephane_deraco): Hi, I create a pull-request (from Github): https://github.com/apache/camel/pull= /61 St=C3=A9phane > Make method asService protected in class CamelBlueprintTestSupport=20 > ------------------------------------------------------------------- > > 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=C3=A9phane Deraco > Priority: Minor > > In *camel-test-blueprint*, Camel version 2.11.2 and 2.12.0 added the poss= ibilty to add OSGi services at startup using the protected method {{addServ= icesOnStartup}} of {{CamelBlueprintTestSupport}} class. > In the Javadoc and in the wiki it says that we can use the method {{asSer= vice}} to register a service with a single property. > However, this method has no modifier. It is not _protected_, so we can no= t 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)