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 32DD7C6B5 for ; Fri, 13 Apr 2012 14:56:07 +0000 (UTC) Received: (qmail 1197 invoked by uid 500); 13 Apr 2012 14:56:06 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 1171 invoked by uid 500); 13 Apr 2012 14:56:06 -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 1163 invoked by uid 99); 13 Apr 2012 14:56:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 14:56:06 +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 (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 14:56:02 +0000 Received: by lbbgn12 with SMTP id gn12so2307487lbb.32 for ; Fri, 13 Apr 2012 07:55:40 -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:content-transfer-encoding; bh=ccMV5S00ke//iijF08lpSfqBCc2draoZsc/oOCVThFg=; b=flZMTYhnVMGIIDYiJKvIM4olB7iWO3FQ34pV+8NPprT19WogVW+UgDhbkbW3R64pZi rZwJ6mnRhpEvq2G8fU8LGIi5w5h3mj8jaGqpXKKtFJALs8sFP0eH4Rc3IOuWMfWwFMsF X4pncJASnUj8uGMUz1KdH1t1EFa27PydBKS1AAcG1MAa7Immd+hWO3OMz39sJjREmFtX Vg7mZJXpqvJjxKxiu9hGSiascdee2Gi37whEJDJOtSOwkZHjt3IK7BEoVr58E6O9vKSU 8Fffw9dGCRsBDQDWhjXEvXOmZP5OdFRI0JaPPJxuOzYFRHh9SGhi93wwzPZJxPlq4F5w 4doQ== Received: by 10.152.127.136 with SMTP id ng8mr1753273lab.16.1334328940616; Fri, 13 Apr 2012 07:55:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.75.130 with HTTP; Fri, 13 Apr 2012 07:55:20 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Fri, 13 Apr 2012 16:55:20 +0200 Message-ID: Subject: Re: Deploying route to Karaf To: users@camel.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi I suggest to install the camel feature, and not camel-core. By install camel feature, you get Camel support for Spring-DM and Blueprint. Then you should be able to install and start your bundle out of the box. If you use another Camel component such as FTP, Velocity etc. Then you need to install those features beforehand as well. On Fri, Apr 13, 2012 at 12:33 PM, Borut Bol=C4=8Dina wrote: > OK, I installed the latest Karaf (2.2.6) and Camel features with > > features:chooseurl camel 2.9.1 > > > features:install camel-core > > > Then I installed my bundle into the local maven repo and then to Karaf wi= th > > karaf@root> osgi:install > mvn:com.mycompany/route-weather-current/1.0-SNAPSHOT > Bundle ID: 67 > > As I suspected, this bundle will have difficulities to start up, as I did > not install all the neccessary features into Karaf needed by my bundle an= d > so the error happens: > > karaf@root> osgi:start 67 > org.osgi.framework.BundleException: Unresolved constraint in bundle > route-weather-current-osgi [67]: Unable to resolve 67.0: missi > ng requirement [67.0] package; > (&(package=3Dorg.apache.camel.core.osgi)(version>=3D2.9.0)(!(version>=3D3= .0.0))) > > As I am using camel-core-osgi and this feature is not installed with > features:chooseurl camel 2.9.1 where do I get it? > > Thanks, > borut > > Dne 11. april 2012 10:46 je Claus Ibsen napisal/-= a: > >> > The blueprint.xml file is then placed in the META-INF/blueprint >> > directory. The standard place for that. >> >> Ah sorry I think its OSGI-INF/blueprint/blueprint.xml >> >> The name of the XML file dont have to be blueprint.xml. I think you >> can name it myapp.xml, camel.xml, etc. Or what you like. >> >> Anyway the point is its the whatever the blueprint standard is. >> >> >> >> >> >> -- >> Claus Ibsen >> ----------------- >> CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com >> FuseSource >> Email: cibsen@fusesource.com >> Web: http://fusesource.com >> Twitter: davsclaus, fusenews >> Blog: http://davsclaus.blogspot.com/ >> Author of Camel in Action: http://www.manning.com/ibsen/ >> --=20 Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/