You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Ryan Moquin <fr...@gmail.com> on 2010/03/11 18:08:06 UTC
SMX4 clustering and OSGI bundles
Just to make sure I understand correctly, clustering will only work for JBI
components or can OSGI components have a clustered "endpoint"?
Thanks!
Ryan
Re: SMX4 clustering and OSGI bundles
Posted by Ryan Moquin <fr...@gmail.com>.
Ok, thanks, just wanted to make sure I understand if clustering only was for
JBI endpoints,
On Fri, Mar 12, 2010 at 5:14 AM, Freeman Fang <fr...@gmail.com>wrote:
> Yeah, cluster is jbi level concept.
> For the communication across osgi containers between bundles, maybe
> consider DOSGI?
>
> Freeman
>
> On 2010-3-12, at 下午5:05, Maciej Prochniak wrote:
>
> I think the answer is:
>>
>> 1) clustering works for JBI components (i.e. servicemix-*)
>> a) when you deploy endpoints in JBI fashion
>> b) when you deploy endpoints in OSGI fashion (as in clustering
>> example)
>>
>> 2) however, I believe that clustering doesn't work for simple endpoints
>> idenfified by 'name'
>> (e.g. nmr:name:cheese in camel-nmr) - clustering engine needs endpoint
>> to be identified by serviceName and/or interface
>>
>>
>>
>> br,
>> maciek
>>
>>
>> On Thu, 2010-03-11 at 12:08 -0500, Ryan Moquin wrote:
>>
>>> Just to make sure I understand correctly, clustering will only work for
>>> JBI
>>> components or can OSGI components have a clustered "endpoint"?
>>>
>>> Thanks!
>>> Ryan
>>>
>>
>>
>
> --
> Freeman Fang
> ------------------------
> Open Source SOA: http://fusesource.com
>
>
Re: SMX4 clustering and OSGI bundles
Posted by Freeman Fang <fr...@gmail.com>.
Yeah, cluster is jbi level concept.
For the communication across osgi containers between bundles, maybe
consider DOSGI?
Freeman
On 2010-3-12, at 下午5:05, Maciej Prochniak wrote:
> I think the answer is:
>
> 1) clustering works for JBI components (i.e. servicemix-*)
> a) when you deploy endpoints in JBI fashion
> b) when you deploy endpoints in OSGI fashion (as in clustering
> example)
>
> 2) however, I believe that clustering doesn't work for simple
> endpoints
> idenfified by 'name'
> (e.g. nmr:name:cheese in camel-nmr) - clustering engine needs endpoint
> to be identified by serviceName and/or interface
>
>
>
> br,
> maciek
>
>
> On Thu, 2010-03-11 at 12:08 -0500, Ryan Moquin wrote:
>> Just to make sure I understand correctly, clustering will only work
>> for JBI
>> components or can OSGI components have a clustered "endpoint"?
>>
>> Thanks!
>> Ryan
>
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com
Re: SMX4 clustering and OSGI bundles
Posted by Maciej Prochniak <mp...@touk.pl>.
I think the answer is:
1) clustering works for JBI components (i.e. servicemix-*)
a) when you deploy endpoints in JBI fashion
b) when you deploy endpoints in OSGI fashion (as in clustering
example)
2) however, I believe that clustering doesn't work for simple endpoints
idenfified by 'name'
(e.g. nmr:name:cheese in camel-nmr) - clustering engine needs endpoint
to be identified by serviceName and/or interface
br,
maciek
On Thu, 2010-03-11 at 12:08 -0500, Ryan Moquin wrote:
> Just to make sure I understand correctly, clustering will only work for JBI
> components or can OSGI components have a clustered "endpoint"?
>
> Thanks!
> Ryan
Re: SMX4 clustering and OSGI bundles
Posted by Charles Moulliard <cm...@gmail.com>.
Clustering can only work if you configure your endpoints using NMR
clustering. Here is an example available
https://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk/examples/cluster
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard
Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
On Thu, Mar 11, 2010 at 6:08 PM, Ryan Moquin <fr...@gmail.com> wrote:
> Just to make sure I understand correctly, clustering will only work for JBI
> components or can OSGI components have a clustered "endpoint"?
>
> Thanks!
> Ryan
>