You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2010/07/05 09:45:48 UTC

Migrating ServiceMix components to use Karaf instead of Blueprint

I'd like to migrate ServiceMix components to use Blueprint instead of
Karaf.  This will remove some of the problems with startup time, where
some custom spring namespaces aren't available yet.
I'll start working on that today and I'll report back if there is any problem.

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Migrating ServiceMix components to use Karaf instead of Blueprint

Posted by Charles Moulliard <cm...@gmail.com>.
+1

Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard



On Mon, Jul 5, 2010 at 10:40 AM, Guillaume Nodet <gn...@gmail.com> wrote:
> Not sure yet.  What I had in mind was simply to use blueprint instead
> of spring-dm for deploying components inside OSGi.
> So I would replace
>  http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-file/trunk/src/main/resources/META-INF/spring/servicemix-file.xml
> with a blueprint translation of it.
>
> I hope that should be enough, but I might need to remove some
> dependencies on spring interfaces (InitializingBean and such) if
> needed to make sure they can run without spring if needed.  I hope
> that should be sufficient, but I'll post the result of my
> investigation before committing anything.
>
> Note that it should not have any impact on users.
>
> On Mon, Jul 5, 2010 at 10:34, Charles Moulliard <cm...@gmail.com> wrote:
>> What is the impact to migrating SMX components from Karaf to Blueprint
>> ? Could you elaborate a little bit please as I don't understand which
>> link exist today between SMX components and Karaf ?
>>
>> KR,
>>
>> Charles Moulliard
>>
>> Senior Enterprise Architect (J2EE, .NET, SOA)
>> Apache Camel - ServiceMix Committer
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
>> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>>
>>
>>
>> On Mon, Jul 5, 2010 at 10:04 AM, Lars Heinemann <lh...@apache.org> wrote:
>>> When reading the subject of the mail I was a bit confused ;)
>>>
>>> But +1 from here as it will help solve some startup problems.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>>
>>>
>>> 2010/7/5 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>>> +1
>>>>
>>>> Keep me posted if I can manage some components under your control.
>>>>
>>>> Thanks
>>>> Regards
>>>> JB
>>>>
>>>> On 07/05/2010 09:45 AM, Guillaume Nodet wrote:
>>>>>
>>>>> I'd like to migrate ServiceMix components to use Blueprint instead of
>>>>> Karaf.  This will remove some of the problems with startup time, where
>>>>> some custom spring namespaces aren't available yet.
>>>>> I'll start working on that today and I'll report back if there is any
>>>>> problem.
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>

Re: Migrating ServiceMix components to use Karaf instead of Blueprint

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
I think that the "translation" of spring-dm to blueprint one is the 
first step (and maybe the easiest one :)).
The second linked step is to cleanup dependencies, including in 
servicemix shared libraries used by component as Guillaume said.

I'm gonna make a first try on one component.

Regards
JB

On 07/05/2010 10:40 AM, Guillaume Nodet wrote:
> Not sure yet.  What I had in mind was simply to use blueprint instead
> of spring-dm for deploying components inside OSGi.
> So I would replace
>    http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-file/trunk/src/main/resources/META-INF/spring/servicemix-file.xml
> with a blueprint translation of it.
>
> I hope that should be enough, but I might need to remove some
> dependencies on spring interfaces (InitializingBean and such) if
> needed to make sure they can run without spring if needed.  I hope
> that should be sufficient, but I'll post the result of my
> investigation before committing anything.
>
> Note that it should not have any impact on users.
>
> On Mon, Jul 5, 2010 at 10:34, Charles Moulliard<cm...@gmail.com>  wrote:
>> What is the impact to migrating SMX components from Karaf to Blueprint
>> ? Could you elaborate a little bit please as I don't understand which
>> link exist today between SMX components and Karaf ?
>>
>> KR,
>>
>> Charles Moulliard
>>
>> Senior Enterprise Architect (J2EE, .NET, SOA)
>> Apache Camel - ServiceMix Committer
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
>> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>>
>>
>>
>> On Mon, Jul 5, 2010 at 10:04 AM, Lars Heinemann<lh...@apache.org>  wrote:
>>> When reading the subject of the mail I was a bit confused ;)
>>>
>>> But +1 from here as it will help solve some startup problems.
>>>
>>> Regards
>>> Lars
>>>
>>>
>>>
>>>
>>> 2010/7/5 Jean-Baptiste Onofré<jb...@nanthrax.net>:
>>>> +1
>>>>
>>>> Keep me posted if I can manage some components under your control.
>>>>
>>>> Thanks
>>>> Regards
>>>> JB
>>>>
>>>> On 07/05/2010 09:45 AM, Guillaume Nodet wrote:
>>>>>
>>>>> I'd like to migrate ServiceMix components to use Blueprint instead of
>>>>> Karaf.  This will remove some of the problems with startup time, where
>>>>> some custom spring namespaces aren't available yet.
>>>>> I'll start working on that today and I'll report back if there is any
>>>>> problem.
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> http://lhein.blogspot.com
>>>
>>
>
>
>

Re: Migrating ServiceMix components to use Karaf instead of Blueprint

Posted by Guillaume Nodet <gn...@gmail.com>.
Not sure yet.  What I had in mind was simply to use blueprint instead
of spring-dm for deploying components inside OSGi.
So I would replace
  http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-file/trunk/src/main/resources/META-INF/spring/servicemix-file.xml
with a blueprint translation of it.

I hope that should be enough, but I might need to remove some
dependencies on spring interfaces (InitializingBean and such) if
needed to make sure they can run without spring if needed.  I hope
that should be sufficient, but I'll post the result of my
investigation before committing anything.

Note that it should not have any impact on users.

On Mon, Jul 5, 2010 at 10:34, Charles Moulliard <cm...@gmail.com> wrote:
> What is the impact to migrating SMX components from Karaf to Blueprint
> ? Could you elaborate a little bit please as I don't understand which
> link exist today between SMX components and Karaf ?
>
> KR,
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel - ServiceMix Committer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard
>
>
>
> On Mon, Jul 5, 2010 at 10:04 AM, Lars Heinemann <lh...@apache.org> wrote:
>> When reading the subject of the mail I was a bit confused ;)
>>
>> But +1 from here as it will help solve some startup problems.
>>
>> Regards
>> Lars
>>
>>
>>
>>
>> 2010/7/5 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>>> +1
>>>
>>> Keep me posted if I can manage some components under your control.
>>>
>>> Thanks
>>> Regards
>>> JB
>>>
>>> On 07/05/2010 09:45 AM, Guillaume Nodet wrote:
>>>>
>>>> I'd like to migrate ServiceMix components to use Blueprint instead of
>>>> Karaf.  This will remove some of the problems with startup time, where
>>>> some custom spring namespaces aren't available yet.
>>>> I'll start working on that today and I'll report back if there is any
>>>> problem.
>>>>
>>>
>>
>>
>>
>> --
>> http://lhein.blogspot.com
>>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Re: Migrating ServiceMix components to use Karaf instead of Blueprint

Posted by Charles Moulliard <cm...@gmail.com>.
What is the impact to migrating SMX components from Karaf to Blueprint
? Could you elaborate a little bit please as I don't understand which
link exist today between SMX components and Karaf ?

KR,

Charles Moulliard

Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel - ServiceMix Committer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Blog : http://cmoulliard.blogspot.com |  Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard | Skype: cmoulliard



On Mon, Jul 5, 2010 at 10:04 AM, Lars Heinemann <lh...@apache.org> wrote:
> When reading the subject of the mail I was a bit confused ;)
>
> But +1 from here as it will help solve some startup problems.
>
> Regards
> Lars
>
>
>
>
> 2010/7/5 Jean-Baptiste Onofré <jb...@nanthrax.net>:
>> +1
>>
>> Keep me posted if I can manage some components under your control.
>>
>> Thanks
>> Regards
>> JB
>>
>> On 07/05/2010 09:45 AM, Guillaume Nodet wrote:
>>>
>>> I'd like to migrate ServiceMix components to use Blueprint instead of
>>> Karaf.  This will remove some of the problems with startup time, where
>>> some custom spring namespaces aren't available yet.
>>> I'll start working on that today and I'll report back if there is any
>>> problem.
>>>
>>
>
>
>
> --
> http://lhein.blogspot.com
>

Re: Migrating ServiceMix components to use Karaf instead of Blueprint

Posted by Lars Heinemann <lh...@apache.org>.
When reading the subject of the mail I was a bit confused ;)

But +1 from here as it will help solve some startup problems.

Regards
Lars




2010/7/5 Jean-Baptiste Onofré <jb...@nanthrax.net>:
> +1
>
> Keep me posted if I can manage some components under your control.
>
> Thanks
> Regards
> JB
>
> On 07/05/2010 09:45 AM, Guillaume Nodet wrote:
>>
>> I'd like to migrate ServiceMix components to use Blueprint instead of
>> Karaf.  This will remove some of the problems with startup time, where
>> some custom spring namespaces aren't available yet.
>> I'll start working on that today and I'll report back if there is any
>> problem.
>>
>



-- 
http://lhein.blogspot.com

Re: Migrating ServiceMix components to use Karaf instead of Blueprint

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
+1

Keep me posted if I can manage some components under your control.

Thanks
Regards
JB

On 07/05/2010 09:45 AM, Guillaume Nodet wrote:
> I'd like to migrate ServiceMix components to use Blueprint instead of
> Karaf.  This will remove some of the problems with startup time, where
> some custom spring namespaces aren't available yet.
> I'll start working on that today and I'll report back if there is any problem.
>