Re: How to use karaf cluster[Urgent]

2014-01-07 Thread Jean-Baptiste Onofré

Hi,

do you mean to use Karaf Cellar ?

Regards
JB

On 01/07/2014 02:43 PM, simafengyun1984 wrote:

I used apache-karaf-2.3.3



--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-use-karaf-cluster-Urgent-tp4030916p4030920.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: How to use karaf cluster[Urgent]

2014-01-07 Thread simafengyun1984
yes, I meant using karaf cellar to construct cluster. Which benefit it can
provide because I didn't find the benefit from the cluster. Please see my
below anlaysis 

recently I tried to construct a cellar cluster in my local. I had 3 nodes in
the cluster.  3 kinds of bundles ,as below 
  1.  third-part bundles(ex: spring-dm bundle) deployed in the node1 
  2. my customized camel component bundles deployed in the node2 
  3. my application bundles deployed in the node3

when the 3 node joined in the same group, it seems all the bundles in one
node will be copy to other nodes and each of the bundles will have 3
instances  in 3 nodes. 
in this case, the third-part bundles and custmized camel component bundles
are fine. but for my application bundle which is used to listening to the
JMS topic and process jms message. Apparently each JMS message will be
process in  3 times. Do you know any solution of keepping only one instance
for a  bundle  in cluster in the same time?

another question:  I run command  start  bundleID in one node. and the
bundle will be started in other nodes. So what's the difference between
command start and cluster:bundle-start?






--
View this message in context: 
http://karaf.922171.n3.nabble.com/How-to-use-karaf-cluster-Urgent-tp4030916p4030929.html
Sent from the Karaf - User mailing list archive at Nabble.com.