Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 50092 invoked from network); 2 Jun 2008 08:35:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 08:35:42 -0000 Received: (qmail 28293 invoked by uid 500); 2 Jun 2008 08:35:45 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 28191 invoked by uid 500); 2 Jun 2008 08:35:45 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 28162 invoked by uid 99); 2 Jun 2008 08:35:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 01:35:45 -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 gnodet@gmail.com designates 74.125.46.154 as permitted sender) Received: from [74.125.46.154] (HELO yw-out-1718.google.com) (74.125.46.154) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 08:34:55 +0000 Received: by yw-out-1718.google.com with SMTP id 6so373731ywa.86 for ; Mon, 02 Jun 2008 01:35:03 -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:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hOi8yT4Zr6Dp7YiBhd24Vn45cId9SCqvklaEG9s+QNc=; b=Ii0Z/Cn8ONgECaRGY2xQFrKgCwMH9WwsacguxTMW87Ot9nk4sLm4WIoSP19+2/99mrg+npF68/1ppqUkx4qoW5KHn/Yb9DyOHdBnUdBc1+jSBxBhCeT3kogxb0Bl8rNXw3jsEPoY6uY8A7LUSTPc8MWgaEA0D9DOOwKXJE98Ifc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=vUrZcl97qxmtPL8rCOnsaYoBe8L+qJxifXqtcgbNvh4xVwdTRRSBYARwZxUeq51RTLu2XMk/NbSl4hUyGYzJD3rIE2X22au2vs2AzS9HcM07s1e2Jzt9cEMb3q5eCjqxJfSHkDUWBBx7If4C9cQyGOuuDPDAELWwyop+oEiHtoc= Received: by 10.151.101.2 with SMTP id d2mr439088ybm.42.1212395702865; Mon, 02 Jun 2008 01:35:02 -0700 (PDT) Received: by 10.150.217.9 with HTTP; Mon, 2 Jun 2008 01:35:02 -0700 (PDT) Message-ID: Date: Mon, 2 Jun 2008 10:35:02 +0200 From: "Guillaume Nodet" To: camel-user@activemq.apache.org Subject: Re: OSGI endpoint planned ? In-Reply-To: <17596294.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <17596294.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Have you tried doing that using spring-dm and the camel-bean component ? Using spring-dm, you can easily import a bean into your spring configuration and you should be able to reference it using the bean:xxx uri in camel. On Mon, Jun 2, 2008 at 10:24 AM, cmoulliard wrote: > > Hi, > > Is it planned to propose in a next release of Camel "OSGI endpoint" ? In my > head, an OSGI endpoint is a OSGI service running in an OSGI server and > exposing/exporting service like (DAO, ...). The idea is to use Camel as the > routing engine but to package the business components (POJO) of the > application into separate JARs file which are embedded into the Camel Jar > project but into separate versioned OSGI bundles. The benefit of this is > that when I have to update the DAO layer or business component, I can update > the OSGI bundle on my OSGI server without having to repackage and redeploy > all the Jar's/components of my project. > > e.g. > > from("file:///c:/temp/myFileToProcess) > .unmarshall("into something". > .to("OSGI_service://MyBeanProcessingTheMessage?methodName=Process) > > > Charles > -- > View this message in context: http://www.nabble.com/OSGI-endpoint-planned---tp17596294s22882p17596294.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/