camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Krauss <alexander.kra...@qaware.de>
Subject Re: Blueprint bundle + plain Main class from the same project?
Date Tue, 29 Nov 2011 08:14:46 GMT
On Tue, Nov 29, 2011 at 8:12 AM, Guillaume Nodet <gnodet@gmail.com> wrote:

> The cxf-example-osgi-blueprint only can be ran inside of OSGi container.
> You can not run it as a stand-alone Java process.
[...]
> There's a way actually.  You need to use PojoSR which is a small> library to emulate
an OSGi framework but without the classloading> (only the registry really).   I've been
able to have it run Blueprint.
Thanks for the pointer.

Actually, I was more expecting a solution in terms of the build process,
such as being able to build both a blueprint bundle and a stand-alone
Java application
from the same source tree. But I realize that this is tricky, since
the dependencies
are quite different in both cases, and also the actual camel context
xml seems to be
different, too, even if the actual route spec is the same...

Instead, what is the recommended way for developing blueprint bundles? Do people
usually run Karaf locally or Felix in the IDE?

Alex

Mime
View raw message