camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: OSGI endpoint planned ?
Date Mon, 02 Jun 2008 08:35:02 GMT
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 <cmoulliard@gmail.com> 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/

Mime
View raw message