You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by William Tam <em...@gmail.com> on 2008/01/28 20:07:40 UTC
camel-example-osgi bundle
I follow the example [1] and it works great. I look at the headers of
the camel-example-osgi bundle and I don't see any bundle activator. I
wonder how the camel context is started when the bundle is activated.
Thanks in advance.
- William
[1] http://servicemix.apache.org/SMX4KNL/1-quick-start.html
Re: camel-example-osgi bundle
Posted by William Tam <em...@gmail.com>.
Yes, it does. Thanks!
On Jan 28, 2008 2:35 PM, Guillaume Nodet <gn...@gmail.com> wrote:
> The camel context is a spring application. The spring extender will look
> at newly started bundles, introspect those and if they contain some
> spring files in META-INF/spring/*, will create the application context
> and start it. Makes sense ?
>
>
> On Jan 28, 2008 8:07 PM, William Tam <em...@gmail.com> wrote:
>
> > I follow the example [1] and it works great. I look at the headers of
> > the camel-example-osgi bundle and I don't see any bundle activator. I
> > wonder how the camel context is started when the bundle is activated.
> >
> > Thanks in advance.
> > - William
> >
> > [1] http://servicemix.apache.org/SMX4KNL/1-quick-start.html
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>
Re: camel-example-osgi bundle
Posted by Guillaume Nodet <gn...@gmail.com>.
The camel context is a spring application. The spring extender will look
at newly started bundles, introspect those and if they contain some
spring files in META-INF/spring/*, will create the application context
and start it. Makes sense ?
On Jan 28, 2008 8:07 PM, William Tam <em...@gmail.com> wrote:
> I follow the example [1] and it works great. I look at the headers of
> the camel-example-osgi bundle and I don't see any bundle activator. I
> wonder how the camel context is started when the bundle is activated.
>
> Thanks in advance.
> - William
>
> [1] http://servicemix.apache.org/SMX4KNL/1-quick-start.html
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/