[jboss-user] [Clustering/JBoss] - Re: change default partition name

bstansberry@jboss.com do-not-reply at jboss.com
Fri Mar 9 10:11:45 EST 2007


In jboss.xml, for each clustered bean:


  | <clustered>true</clustered>
  | <cluster-config>
  |     <partition-name>mypartition</partition-name>
  | </cluster-config>
  | 

This is supported, I believe, since RC9; before it wasn't.

In the next EJB3 release, if you just use the plain @Clustered annotation (no attribute), it will default to the partition named by system property jboss.partition.name (i.e. the property that's set by the -g startup switch.)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026622#4026622

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026622



More information about the jboss-user mailing list