This content has been marked as final.
Show 2 replies
-
1. Re: How can I deploy a MDB to only one instance in a cluster
justkeys Sep 3, 2008 11:10 AM (in response to samdoyle)Annotate with
@Depends("jboss.ha:service=HASingletonDeployer,type=Barrier")
If you want only one instance within the jvm, also annotate with
@MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "1")})
A second node in the cluster will not run this mdb, till the first master node goes away. -
2. Re: How can I deploy a MDB to only one instance in a cluster
samdoyle Sep 3, 2008 12:58 PM (in response to samdoyle)Ah, excellent and much thanks!