Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 66452 invoked from network); 27 May 2008 14:34:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 May 2008 14:34:00 -0000 Received: (qmail 32448 invoked by uid 500); 27 May 2008 14:34:01 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 32085 invoked by uid 500); 27 May 2008 14:34:01 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 32060 invoked by uid 99); 27 May 2008 14:34:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 07:34:01 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 209.85.162.180 as permitted sender) Received: from [209.85.162.180] (HELO el-out-1112.google.com) (209.85.162.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2008 14:33:11 +0000 Received: by el-out-1112.google.com with SMTP id s27so964701ele.5 for ; Tue, 27 May 2008 07:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Ggv+IwhoGc8rYCYzH/DyHu4xk3K17UUTUdETWHSx4pk=; b=wnapQbVbi+y95YDB1S5ksDXfv3FkXeFTeRgDFXzhq6MIEazYUT+98gVuR0wxZP88ifMm/SwjTN9wp3vd2dF7jAoRg0iziwISMrgTuf86MY6OoSuQL0s/75DwT2lcQlXVtBliFGPzcKBKS1eeW/Zmt3N5fQfkAqfu+XwEMGIyMPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=whm74ZNxh/Nqdjar4lcmwpw6yNIE/jpEMIGWVjfOarvg/IO9j1Sxvc7KvJMhiV6DFwD7FWJZyliYUqf7M4raR+IEVjt1Yhjy0Pi/rBSdB0NT/ojwd6P2pGOQqthuFzaPB33eiQn9BzEN2W5hWlPmPYOQ7pz2CGqeDoGBY0ikSC0= Received: by 10.114.88.20 with SMTP id l20mr1358367wab.114.1211898806649; Tue, 27 May 2008 07:33:26 -0700 (PDT) Received: by 10.114.160.6 with HTTP; Tue, 27 May 2008 07:33:26 -0700 (PDT) Message-ID: Date: Tue, 27 May 2008 10:33:26 -0400 From: "Hiram Chirino" Sender: chirino@gmail.com To: users@activemq.apache.org Subject: Re: Help: Using Camel routing in Equinox OSGi In-Reply-To: <17414374.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17414374.post@talk.nabble.com> X-Google-Sender-Auth: 3018991f915e4cbe X-Virus-Checked: Checked by ClamAV on apache.org I think this an area that is still being worked on (the osgi support).. ServiceMix 4 (basically an OSGi container using felix) is working with the camel project to make your use case possible. You should post to either the Camel or the ServiceMix 4 dev lists. On Thu, May 22, 2008 at 5:58 PM, paulu wrote: > > I'm probably missing something basic, but ... > > Camel 1.3.0, Equinox/Eclipse 3.3.2, ActiveMQ 5.1.0 > > I'm trying to get Camel working in the Equinox/Eclipse OSGi container. I > have a bundle which includes beans for processing messages from JMS/ActiveMQ > queues (seperate broker, tcp connection), and a Java DSL-based router class > which specifies the routes and beans to be used for processing. Outside of > OSGi, all works fine. > > The whole thing is to be loaded by the Spring OSGi extender based on the > content of the camel-context.xml file. I have all the necessary Spring > bundles loaded & active, plus the camel bundles (and dependencies), > including the camel-osgi bundle. > > When I start the container, everything loads OK - the camel-context is > recognized and the beans created correctly, but I get the following error > message when the Spring Extender or Camel tries to locate the RouteBuilder > classes according to the package element: > > "SEVERE: Could not search jar file '\com\elluminate\maple\routers' for > classes matching criteria: is assignable to RouteBuilder due to an > IOException: \com\elluminate\maple\routers (The system cannot find the path > specified)" > > I've been searching FAQs and forum postings all day, and looking for > documentation for the camel-osgi bundle, but can't find any explanation. Am > I missing some piece of camel-osgi configuration? Do I need to use a > different camel-context.xml configuration? > > Basically, how do I get the Spring Extender/Camel to search my bundle for > the RouteBuilder classes? > > The camel-example-osgi hasn't given me any clues, nor has looking at the > source for the camel-osgi bundle. > > Can anybody help? > -- > View this message in context: http://www.nabble.com/Help%3A-Using-Camel-routing-in-Equinox-OSGi-tp17414374s2354p17414374.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com