Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7423E101C8 for ; Sat, 31 Aug 2013 15:07:00 +0000 (UTC) Received: (qmail 14762 invoked by uid 500); 31 Aug 2013 15:06:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 14435 invoked by uid 500); 31 Aug 2013 15:06:56 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 14426 invoked by uid 99); 31 Aug 2013 15:06:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 15:06:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tellisnz@gmail.com designates 209.85.128.182 as permitted sender) Received: from [209.85.128.182] (HELO mail-ve0-f182.google.com) (209.85.128.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Aug 2013 15:06:50 +0000 Received: by mail-ve0-f182.google.com with SMTP id m1so2185089ves.27 for ; Sat, 31 Aug 2013 08:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=mNrD3SExR4eB0ofzfUouTYNGt0QXAM+n9F/pXpqhtY8=; b=D7TXdh3RpDR4ZOXxCE2F6Lcfq45F4G3lfVemMxnIGkwFsVQn/ILbygX8EnQ00jjvcJ x+qyeAgVmBiFooDZw9Zorgy+KD2VZmSd3wwdEo3+qzbVG7FLG3dJRje2TkUfjuuHVQR5 TkSvPsQpapslqrIzNoEtCPLmCEGY7N+SDaiEjIcFbOMwq8QiCroHg+ZlPIR2ZRyUGv1O Ka0MnHt3mXmh9hidc5myL0hMIDcuJ2raVsqwsoggIUjHXMB3k5Vhtbl/f3nv3SAc+Pok grSnGBRRXLBxGC3+sPME32LryAfK8cu79ZEPONAbyhyZE1SqKNWw/puAPNs9JQXN6A+D J6eQ== X-Received: by 10.58.118.130 with SMTP id km2mr13612748veb.0.1377961589259; Sat, 31 Aug 2013 08:06:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.74.67 with HTTP; Sat, 31 Aug 2013 08:06:09 -0700 (PDT) In-Reply-To: References: From: Tom Ellis Date: Sat, 31 Aug 2013 16:06:09 +0100 Message-ID: Subject: Re: Waiting for Namespace Handlers, even though they're available. To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi yeah, Was about to update the solution here too, thanks Claus. On 31 August 2013 10:54, Claus Ibsen wrote: > Hi > > Okay found the thread on jboss forum where this was posted first > https://community.jboss.org/thread/232058 > > And Tom posted a solution on this forum. > > On Fri, Aug 30, 2013 at 8:32 PM, Tom Ellis wrote: >> I asked this on the JBoss Fuse forums, but I hope that maybe one of >> you have come against this: >> >> Can anyone tell me why my bundle is entering into GracePeriod here: >> >> >> >> camel-blueprint exposes the camel blueprint namespace: >> >> >> >> JBossFuse:karaf@root> list | grep 135 >> [ 135] [Active ] [Created ] [ ] [ 50] camel-blueprint >> (2.10.0.redhat-60024) >> JBossFuse:karaf@root> ls 135 >> >> >> camel-blueprint (135) provides: >> ------------------------------- >> objectClass = org.apache.aries.blueprint.NamespaceHandler >> osgi.service.blueprint.namespace = http://camel.apache.org/schema/blueprint >> service.id = 353 >> >> >> >> But my bundle is in a GracePeriod waiting for it: >> >> >> >> 14:07:14,721 | INFO | NAPSHOT-thread-1 | BlueprintContainerImpl >> | 22 - org.apache.aries.blueprint.core - 1.0.1.redhat-60024 | >> Bundle com.mycompany.mybundle is waiting for namespace handlers >> [http://camel.apache.org/schema/blueprint] >> 14:07:14,721 | DEBUG | NAPSHOT-thread-1 | BlueprintEventDispatcher >> | 22 - org.apache.aries.blueprint.core - 1.0.1.redhat-60024 | >> Sending blueprint container event BlueprintEvent[type=GRACE_PERIOD, >> dependencies=[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://camel.apache.org/schema/blueprint))]] >> for bundle com.mycompany.mybundle >> >> >> >> Definition of the namespace in my bundle's blueprint: >> >> >> >> > xmlns="http://camel.apache.org/schema/blueprint" >> xsi:schemaLocation="http://camel.apache.org/schema/blueprint >> http://camel.apache.org/schema/blueprint/camel-blueprint-2.10.0.xsd"> >> >> > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: cibsen@redhat.com > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen